mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +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:
@ -832,6 +832,9 @@ void DwarfDebug::endModule() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Emit info into a debug pubtypes section.
|
// Emit info into a debug pubtypes section.
|
||||||
|
// TODO: When we don't need the option anymore we can
|
||||||
|
// remove all of the code that adds to the table.
|
||||||
|
if (DarwinGDBCompat)
|
||||||
emitDebugPubTypes();
|
emitDebugPubTypes();
|
||||||
|
|
||||||
// Emit info into a debug loc section.
|
// Emit info into a debug loc section.
|
||||||
|
@ -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-NOT: .asciz "X" ## External Name
|
||||||
; CHECK: .asciz "Y" ## External Name
|
; CHECK: .asciz "Y" ## External Name
|
||||||
; Test to check type with no definition is listed in pubtypes section.
|
; Test to check type with no definition is listed in pubtypes section.
|
||||||
|
Reference in New Issue
Block a user