mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 19:35:54 +00:00
Emit pubtypes only when going for darwin gdb compatibility.
rdar://10393214 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162434 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ccffa84943
commit
360f0062bc
@ -832,7 +832,10 @@ void DwarfDebug::endModule() {
|
||||
}
|
||||
|
||||
// Emit info into a debug pubtypes section.
|
||||
emitDebugPubTypes();
|
||||
// TODO: When we don't need the option anymore we can
|
||||
// remove all of the code that adds to the table.
|
||||
if (DarwinGDBCompat)
|
||||
emitDebugPubTypes();
|
||||
|
||||
// Emit info into a debug loc section.
|
||||
emitDebugLoc();
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -O0 -asm-verbose < %s | FileCheck %s
|
||||
; RUN: llc -O0 -asm-verbose -darwin-gdb-compat < %s | FileCheck %s
|
||||
; CHECK-NOT: .asciz "X" ## External Name
|
||||
; CHECK: .asciz "Y" ## External Name
|
||||
; Test to check type with no definition is listed in pubtypes section.
|
||||
|
Loading…
x
Reference in New Issue
Block a user