summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-07-22 16:11:56 +0000
committerXinliang David Li <davidxl@google.com>2016-07-22 16:11:56 +0000
commitc27f1b7182b41a262b8415afc03d21aa20326317 (patch)
treedc3ab20d3bb0c6f5bd3e8715877279749696a6cc /llvm/include
parent5e51a2e31abac0d03f5a3056d368b7cd289beff1 (diff)
downloadbcm5719-llvm-c27f1b7182b41a262b8415afc03d21aa20326317.tar.gz
bcm5719-llvm-c27f1b7182b41a262b8415afc03d21aa20326317.zip
[Profile] Cleanup: remove unused interface
llvm-svn: 276431
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/ProfileData/InstrProf.h8
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"; }
OpenPOWER on IntegriCloud