[PATCH] D32023: [ProfileData] Support coverage for PE binaries
NAKAMURA Takumi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 17:50:32 PDT 2017
chapuni added a comment.
Fixed in r300289.
================
Comment at: llvm/trunk/include/llvm/ProfileData/InstrProf.h:94
/// data.
-inline StringRef getInstrProfCoverageSectionName(bool AddSegment) {
- return AddSegment ? "__LLVM_COV," INSTR_PROF_COVMAP_SECT_NAME_STR
- : INSTR_PROF_COVMAP_SECT_NAME_STR;
-}
+std::string getInstrProfCoverageSectionName(const Module *M = nullptr);
----------------
It causes requiring LLVMProfileData for its users, for example, LLVMCodeGen.
Repository:
rL LLVM
https://reviews.llvm.org/D32023
More information about the llvm-commits
mailing list