[InstrProf] Port test suite to WindowsSummary:Before this change, check-profile would run, but all tests would bemarked unsupported on Windows. This is the new status of 'check-profile'after thi
[InstrProf] Port test suite to WindowsSummary:Before this change, check-profile would run, but all tests would bemarked unsupported on Windows. This is the new status of 'check-profile'after this change:Testing Time: 6.66s Expected Passes : 29 Expected Failures : 5 Unsupported Tests : 39I moved many tests that exercise posix-y features like dlopen and DSOsinto the Posix subdirectory, and ran the tests on Linux to validate mychanges.These are the remaining tests that I handled on a case by case basis:- instrprof-path.c Passes, Fixed some path portability issues- instrprof-gcov-exceptions.test Passes, the FileCheck actually succeeds on Windows, so I RUNX'd it- instrprof-icall-promo.test XFAILed, probably due to C++ ABI differences in vtables- instrprof-merge-match.test- instrprof-merge.c- instrprof-merging.cpp XFAILed, These seem like real bugs that need fixing- instrprof-version-mismatch.c XFAILed, Overriding the weak version symbol doesn't work- instrprof-without-libc.c UNSUPPORTED, test needs an executable symbol table, Windows has noneReviewers: davidxl, wmi, voidSubscribers: fedor.sergeev, #sanitizers, llvm-commitsTags: #sanitizersDifferential Revision: https://reviews.llvm.org/D57853llvm-svn: 353435
show more ...