mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
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
This commit is contained in:
parent
edf046716c
commit
72831dc905
@ -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),
|
||||
|
@ -6,6 +6,6 @@
|
||||
; CHECK: g0:
|
||||
@g0 = internal global [32 x i32] [ i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 1, i32 2 ]
|
||||
|
||||
; CHECK: merged:
|
||||
; CHECK: _MergedGlobals:
|
||||
@g1 = internal global i32 1
|
||||
@g2 = internal global i32 2
|
||||
|
Loading…
Reference in New Issue
Block a user