diff options
| author | Reid Kleckner <rnk@google.com> | 2019-02-07 17:52:05 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2019-02-07 17:52:05 +0000 |
| commit | 17e2521724d49ea3fea6ff774499de1e942db782 (patch) | |
| tree | de1b7c569f8d0199c7300f0fc6bdaf17a9a15291 /compiler-rt/test/profile/Inputs/instrprof-gcov-one-line-function.c.gcov | |
| parent | c36c10ddfb3dc07129b9f3973029d17940f6a45f (diff) | |
| download | bcm5719-llvm-17e2521724d49ea3fea6ff774499de1e942db782.tar.gz bcm5719-llvm-17e2521724d49ea3fea6ff774499de1e942db782.zip | |
[InstrProf] Port test suite to Windows
Summary:
Before this change, check-profile would run, but all tests would be
marked 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 : 39
I moved many tests that exercise posix-y features like dlopen and DSOs
into the Posix subdirectory, and ran the tests on Linux to validate my
changes.
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 none
Reviewers: davidxl, wmi, void
Subscribers: fedor.sergeev, #sanitizers, llvm-commits
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D57853
llvm-svn: 353435
Diffstat (limited to 'compiler-rt/test/profile/Inputs/instrprof-gcov-one-line-function.c.gcov')
| -rw-r--r-- | compiler-rt/test/profile/Inputs/instrprof-gcov-one-line-function.c.gcov | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/profile/Inputs/instrprof-gcov-one-line-function.c.gcov b/compiler-rt/test/profile/Inputs/instrprof-gcov-one-line-function.c.gcov index a91b20fdc9a..5a570a04742 100644 --- a/compiler-rt/test/profile/Inputs/instrprof-gcov-one-line-function.c.gcov +++ b/compiler-rt/test/profile/Inputs/instrprof-gcov-one-line-function.c.gcov @@ -1,4 +1,4 @@ -// CHECK: -: 0:Source:{{.*}}Inputs/instrprof-gcov-one-line-function.c +// CHECK: -: 0:Source:{{.*}}Inputs{{[/\\]}}instrprof-gcov-one-line-function.c // CHECK-NEXT: -: 0:Graph:instrprof-gcov-one-line-function.gcno // CHECK-NEXT: -: 0:Data:instrprof-gcov-one-line-function.gcda // CHECK-NEXT: -: 0:Runs:1 |

