Minor bug fix in Profile Name Prefix interface
authorXinliang David Li <davidxl@google.com>
Thu, 22 Oct 2015 21:51:09 +0000 (21:51 +0000)
committerXinliang David Li <davidxl@google.com>
Thu, 22 Oct 2015 21:51:09 +0000 (21:51 +0000)
Exposed in uses by clang FE.

llvm-svn: 251070

llvm/include/llvm/ProfileData/InstrProf.h

index 3dad3f5..995d1f1 100644 (file)
@@ -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_"; }