diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-11-17 21:25:33 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-11-17 21:25:33 +0000 |
commit | 72831dc905c2354fc08762dbfd5f1b20fbd5b18b (patch) | |
tree | 776e2e4f1627783e4d31858bbf0ff55e470ecbd5 /lib/Target/ARM/ARMGlobalMerge.cpp | |
parent | edf046716ce7d0da9479c37a5bbb6dd33ce6d390 (diff) | |
download | external_llvm-72831dc905c2354fc08762dbfd5f1b20fbd5b18b.zip external_llvm-72831dc905c2354fc08762dbfd5f1b20fbd5b18b.tar.gz external_llvm-72831dc905c2354fc08762dbfd5f1b20fbd5b18b.tar.bz2 |
Change the symbol for merged globals from "merged" to "_MergedGlobals".
This makes it more clear that the symbol is an internal, compiler-generated
name and gives a little more description about its contents.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMGlobalMerge.cpp')
-rw-r--r-- | lib/Target/ARM/ARMGlobalMerge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMGlobalMerge.cpp b/lib/Target/ARM/ARMGlobalMerge.cpp index b25915a..44d5235 100644 --- a/lib/Target/ARM/ARMGlobalMerge.cpp +++ b/lib/Target/ARM/ARMGlobalMerge.cpp @@ -140,7 +140,7 @@ bool ARMGlobalMerge::doMerge(SmallVectorImpl<GlobalVariable*> &Globals, Constant *MergedInit = ConstantStruct::get(MergedTy, Inits); GlobalVariable *MergedGV = new GlobalVariable(M, MergedTy, isConst, GlobalValue::InternalLinkage, - MergedInit, "merged"); + MergedInit, "_MergedGlobals"); for (size_t k = i; k < j; ++k) { Constant *Idx[2] = { ConstantInt::get(Int32Ty, 0), |