[llvm] r237186 - InstrProf: Update name of compiler-rt routine for setting filename

Justin Bogner mail at justinbogner.com
Tue May 12 14:23:09 PDT 2015


Author: bogner
Date: Tue May 12 16:23:09 2015
New Revision: 237186

URL: http://llvm.org/viewvc/llvm-project?rev=237186&view=rev
Log:
InstrProf: Update name of compiler-rt routine for setting filename

Patch by Teresa Johnson.

Modified:
    llvm/trunk/lib/Transforms/Instrumentation/InstrProfiling.cpp

Modified: llvm/trunk/lib/Transforms/Instrumentation/InstrProfiling.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/InstrProfiling.cpp?rev=237186&r1=237185&r2=237186&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/InstrProfiling.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/InstrProfiling.cpp Tue May 12 16:23:09 2015
@@ -354,7 +354,7 @@ void InstrProfiling::emitInitialization(
     auto *SetNameTy = FunctionType::get(VoidTy, Int8PtrTy, false);
     auto *SetNameF =
         Function::Create(SetNameTy, GlobalValue::ExternalLinkage,
-                         "__llvm_profile_set_filename_env_override", M);
+                         "__llvm_profile_override_default_filename", M);
 
     // Create variable for profile name
     Constant *ProfileNameConst =





More information about the llvm-commits mailing list