aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-02-26 02:30:00 +0000
committerReid Kleckner <rnk@google.com>2019-02-26 02:30:00 +0000
commit8b6af0017367ef66b0c16a83dce6958b1c968af1 (patch)
tree469bed4b882af1857891e2fde5dfc751b2e5855a /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent1144084cb24ae53a120db47b1e77188247d7b583 (diff)
downloadllvm-8b6af0017367ef66b0c16a83dce6958b1c968af1.zip
llvm-8b6af0017367ef66b0c16a83dce6958b1c968af1.tar.gz
llvm-8b6af0017367ef66b0c16a83dce6958b1c968af1.tar.bz2
[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 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions