summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/global-merge-ignore-single-use.ll
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-11-11 17:50:09 +0000
committerAdrian Prantl <aprantl@apple.com>2016-11-11 17:50:09 +0000
commit554fd99dd569e8a2053040f16d71894ac97e0754 (patch)
tree967624c24fe8c403715339f886662b4585cd6e93 /llvm/test/CodeGen/AArch64/global-merge-ignore-single-use.ll
parentd6e85ce3c3dad517b530fcb06c4fb20ed652a4ef (diff)
downloadbcm5719-llvm-554fd99dd569e8a2053040f16d71894ac97e0754.tar.gz
bcm5719-llvm-554fd99dd569e8a2053040f16d71894ac97e0754.zip
Revert "Use private linkage for MergedGlobals variables" on Darwin.
This is a partial revert of r244615 (http://reviews.llvm.org/D11942), which caused a major regression in debug info quality. Turning the artificial __MergedGlobal symbols into private symbols (l__MergedGlobal) means that the linker will not include them in the symbol table of the final executable. Without a symbol table entry dsymutil is not be able to process the debug info for any of the merged globals and thus drops the debug info for all of them. This patch is enabling the old behavior for all MachO targets while leaving all other targets unaffected. rdar://problem/29160481 https://reviews.llvm.org/D26531 llvm-svn: 286607
Diffstat (limited to 'llvm/test/CodeGen/AArch64/global-merge-ignore-single-use.ll')
-rw-r--r--llvm/test/CodeGen/AArch64/global-merge-ignore-single-use.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AArch64/global-merge-ignore-single-use.ll b/llvm/test/CodeGen/AArch64/global-merge-ignore-single-use.ll
index bc7a8274cbf..97e283c972a 100644
--- a/llvm/test/CodeGen/AArch64/global-merge-ignore-single-use.ll
+++ b/llvm/test/CodeGen/AArch64/global-merge-ignore-single-use.ll
@@ -11,7 +11,7 @@
; CHECK-LABEL: f1:
define void @f1(i32 %a1, i32 %a2) #0 {
-; CHECK-NEXT: adrp x8, [[SET:l__MergedGlobals]]@PAGE
+; CHECK-NEXT: adrp x8, [[SET:__MergedGlobals]]@PAGE
; CHECK-NEXT: add x8, x8, [[SET]]@PAGEOFF
; CHECK-NEXT: stp w0, w1, [x8]
; CHECK-NEXT: ret
OpenPOWER on IntegriCloud