From: Xinliang David Li Date: Thu, 22 Oct 2015 21:51:09 +0000 (+0000) Subject: Minor bug fix in Profile Name Prefix interface X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a6d5e5a12be824b00bee7778cb0fe039651a6541;p=oota-llvm.git Minor bug fix in Profile Name Prefix interface Exposed in uses by clang FE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251070 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ProfileData/InstrProf.h b/include/llvm/ProfileData/InstrProf.h index 3dad3f5ccc6..995d1f13c1c 100644 --- a/include/llvm/ProfileData/InstrProf.h +++ b/include/llvm/ProfileData/InstrProf.h @@ -44,7 +44,7 @@ inline StringRef getInstrProfCoverageSectionName(bool AddSegment) { return AddSegment ? "__DATA,__llvm_covmap" : "__llvm_covmap"; } -inline StringRef getInstrProfNameVarPrefix() { return "__llvm_profile_names_"; } +inline StringRef getInstrProfNameVarPrefix() { return "__llvm_profile_name_"; } inline StringRef getInstrProfDataVarPrefix() { return "__llvm_profile_data_"; }