[llvm] r276431 - [Profile] Cleanup: remove unused interface

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 09:11:56 PDT 2016


Author: davidxl
Date: Fri Jul 22 11:11:56 2016
New Revision: 276431

URL: http://llvm.org/viewvc/llvm-project?rev=276431&view=rev
Log:
[Profile] Cleanup: remove unused interface

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=276431&r1=276430&r2=276431&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ProfileData/InstrProf.h (original)
+++ llvm/trunk/include/llvm/ProfileData/InstrProf.h Fri Jul 22 11:11:56 2016
@@ -155,7 +155,7 @@ inline StringRef getInstrProfInitFuncNam
 /// 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 getInstrProfRuntimeHook
   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"; }
 




More information about the llvm-commits mailing list