diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/ProfileData/InstrProf.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/include/llvm/ProfileData/InstrProf.h b/llvm/include/llvm/ProfileData/InstrProf.h index 011a4d69b75..16c35aeb0f0 100644 --- a/llvm/include/llvm/ProfileData/InstrProf.h +++ b/llvm/include/llvm/ProfileData/InstrProf.h @@ -155,7 +155,7 @@ inline StringRef getInstrProfInitFuncName() { return "__llvm_profile_init"; } /// A reference to the variable causes the linker to link in the runtime /// initialization module (which defines the hook variable). inline StringRef getInstrProfRuntimeHookVarName() { - return "__llvm_profile_runtime"; + return INSTR_PROF_QUOTE(INSTR_PROF_PROFILE_RUNTIME_VAR); } /// Return the name of the compiler generated function that references the @@ -164,12 +164,6 @@ inline StringRef getInstrProfRuntimeHookVarUseFuncName() { return "__llvm_profile_runtime_user"; } -/// Return the name of the profile runtime interface that overrides the default -/// profile data file name. -inline StringRef getInstrProfFileOverriderFuncName() { - return "__llvm_profile_override_default_filename"; -} - /// Return the marker used to separate PGO names during serialization. inline StringRef getInstrProfNameSeparator() { return "\01"; } |

