From a6d5e5a12be824b00bee7778cb0fe039651a6541 Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Thu, 22 Oct 2015 21:51:09 +0000 Subject: [PATCH] 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 --- include/llvm/ProfileData/InstrProf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_"; } -- 2.34.1