mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
6dcbcbb6e8
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
11 lines
500 B
LLVM
11 lines
500 B
LLVM
; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 -arm-global-merge -global-merge-group-by-use=false | FileCheck %s
|
|
; CHECK: .zerofill __DATA,__bss,__MergedGlobals,16,2
|
|
|
|
@prev = external global [0 x i16]
|
|
@max_lazy_match = internal unnamed_addr global i32 0, align 4
|
|
@read_buf = external global i32 (i8*, i32)*
|
|
@window = external global [0 x i8]
|
|
@lookahead = internal unnamed_addr global i32 0, align 4
|
|
@eofile.b = internal unnamed_addr global i32 0
|
|
@ins_h = internal unnamed_addr global i32 0, align 4
|