diff options
| author | Reid Kleckner <rnk@google.com> | 2019-02-26 02:30:00 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2019-02-26 02:30:00 +0000 |
| commit | 8b6af0017367ef66b0c16a83dce6958b1c968af1 (patch) | |
| tree | 469bed4b882af1857891e2fde5dfc751b2e5855a /compiler-rt/test | |
| parent | 1144084cb24ae53a120db47b1e77188247d7b583 (diff) | |
| download | bcm5719-llvm-8b6af0017367ef66b0c16a83dce6958b1c968af1.tar.gz bcm5719-llvm-8b6af0017367ef66b0c16a83dce6958b1c968af1.zip | |
[llvm-cov] Fix llvm-cov on Windows and un-XFAIL test
Summary:
The llvm-cov tool needs to be able to find coverage names in the
executable, so the .lprfn and .lcovmap sections cannot be merged into
.rdata.
Also, the linker merges .lprfn$M into .lprfn, so llvm-cov needs to
handle that when looking up sections. It has to support running on both
relocatable object files and linked PE files.
Lastly, when loading .lprfn from a PE file, llvm-cov needs to skip the
leading zero byte added by the profile runtime.
Reviewers: vsk
Subscribers: hiraditya, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D58661
llvm-svn: 354840
Diffstat (limited to 'compiler-rt/test')
| -rw-r--r-- | compiler-rt/test/profile/instrprof-merging.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler-rt/test/profile/instrprof-merging.cpp b/compiler-rt/test/profile/instrprof-merging.cpp index 75b818d1b10..06f05ce612a 100644 --- a/compiler-rt/test/profile/instrprof-merging.cpp +++ b/compiler-rt/test/profile/instrprof-merging.cpp @@ -21,9 +21,6 @@ // and prefer it over others.) When only limited coverage information is // available (just from one binary), don't try to guess any region counts. -// FIXME: Fails with: "Failed to load coverage: No coverage data found" -// XFAIL: windows - struct A { A() {} // V1: [[@LINE]]{{ *}}|{{ *}}1 // V1-ONLY: [[@LINE+1]]{{ *}}|{{ *}}| |

