[llvm] r251070 - Minor bug fix in Profile Name Prefix interface

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 14:51:09 PDT 2015


Author: davidxl
Date: Thu Oct 22 16:51:09 2015
New Revision: 251070

URL: http://llvm.org/viewvc/llvm-project?rev=251070&view=rev
Log:
Minor bug fix in Profile Name Prefix interface

Exposed in uses by clang FE.

Modified:
    llvm/trunk/include/llvm/ProfileData/InstrProf.h

Modified: llvm/trunk/include/llvm/ProfileData/InstrProf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ProfileData/InstrProf.h?rev=251070&r1=251069&r2=251070&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ProfileData/InstrProf.h (original)
+++ llvm/trunk/include/llvm/ProfileData/InstrProf.h Thu Oct 22 16:51:09 2015
@@ -44,7 +44,7 @@ inline StringRef getInstrProfCoverageSec
   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_"; }
 




More information about the llvm-commits mailing list