OSDN Git Service

InstrProf: Update name of compiler-rt routine for setting filename
authorJustin Bogner <mail@justinbogner.com>
Tue, 12 May 2015 21:23:09 +0000 (21:23 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 12 May 2015 21:23:09 +0000 (21:23 +0000)
Patch by Teresa Johnson.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237186 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/InstrProfiling.cpp

index 4d24eca..e9bd487 100644 (file)
@@ -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 =