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
This commit is contained in:
Justin Bogner 2015-05-12 21:23:09 +00:00
parent fab55cf45f
commit 9d14a5a910

View 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 =