[PATCH] D32023: [ProfileData] Support coverage for PE binaries

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 09:31:56 PDT 2017


davidxl created this revision.

Patch https://reviews.llvm.org/D31939 is not complete (does not support cross compiling). This patch solves the problem. The compiler needs to check the target triple to decide section naming scheme.


https://reviews.llvm.org/D32023

Files:
  include/llvm/ProfileData/InstrProf.h
  include/llvm/ProfileData/InstrProfData.inc
  lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  lib/ProfileData/Coverage/CoverageMappingReader.cpp
  lib/ProfileData/InstrProf.cpp
  lib/Transforms/Instrumentation/InstrProfiling.cpp
  lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  test/Instrumentation/InstrProfiling/PR23499.ll
  tools/llvm-cov/TestingSupport.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32023.95141.patch
Type: text/x-patch
Size: 16295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170413/1ae6ab78/attachment.bin>


More information about the llvm-commits mailing list