}
// 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();
-; 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.