From: Justin Bogner Date: Tue, 12 May 2015 21:23:09 +0000 (+0000) Subject: InstrProf: Update name of compiler-rt routine for setting filename X-Git-Tag: android-x86-7.1-r4~48261 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9d14a5a91061fe9200e9d1a7df3ca82cd1bbb511;p=android-x86%2Fexternal-llvm.git InstrProf: Update name of compiler-rt routine for setting filename Patch by Teresa Johnson. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237186 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Instrumentation/InstrProfiling.cpp b/lib/Transforms/Instrumentation/InstrProfiling.cpp index 4d24ecaf851..e9bd4870797 100644 --- a/lib/Transforms/Instrumentation/InstrProfiling.cpp +++ b/lib/Transforms/Instrumentation/InstrProfiling.cpp @@ -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 =