diff options
| author | Eric Christopher <echristo@apple.com> | 2012-08-24 01:14:27 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2012-08-24 01:14:27 +0000 |
| commit | bb69a27dbc86667a3d1dc3389a2c2bd086cffb2c (patch) | |
| tree | 9c5ce0e92fc01555b5d80c7999ca7e10090b8b3e /llvm/test/DebugInfo/X86 | |
| parent | d999bb7ff42fdd6204a7156647f76c55f4dbd1a5 (diff) | |
| download | bcm5719-llvm-bb69a27dbc86667a3d1dc3389a2c2bd086cffb2c.tar.gz bcm5719-llvm-bb69a27dbc86667a3d1dc3389a2c2bd086cffb2c.zip | |
Use DW_FORM_flag_present to save space in debug information if we're
not in darwin gdb compat mode.
Fixes rdar://10975088
llvm-svn: 162526
Diffstat (limited to 'llvm/test/DebugInfo/X86')
| -rw-r--r-- | llvm/test/DebugInfo/X86/concrete_out_of_line.ll | 6 | ||||
| -rw-r--r-- | llvm/test/DebugInfo/X86/stringpool.ll | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/DebugInfo/X86/concrete_out_of_line.ll b/llvm/test/DebugInfo/X86/concrete_out_of_line.ll index 0f02271f979..58fb0557367 100644 --- a/llvm/test/DebugInfo/X86/concrete_out_of_line.ll +++ b/llvm/test/DebugInfo/X86/concrete_out_of_line.ll @@ -7,15 +7,15 @@ ; first check that we have a TAG_subprogram at a given offset and it has ; AT_inline. -; CHECK: 0x00000130: DW_TAG_subprogram [18] +; CHECK: 0x0000011e: DW_TAG_subprogram [18] ; CHECK-NEXT: DW_AT_specification ; CHECK-NEXT: DW_AT_inline ; and then that a TAG_subprogram refers to it with AT_abstract_origin. -; CHECK: 0x00000174: DW_TAG_subprogram [20] -; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x0130 => {0x00000130}) +; CHECK: 0x0000015f: DW_TAG_subprogram [20] +; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x011e => {0x0000011e}) define i32 @_ZN17nsAutoRefCnt7ReleaseEv() { entry: diff --git a/llvm/test/DebugInfo/X86/stringpool.ll b/llvm/test/DebugInfo/X86/stringpool.ll index 2cd100156aa..caf12c2756e 100644 --- a/llvm/test/DebugInfo/X86/stringpool.ll +++ b/llvm/test/DebugInfo/X86/stringpool.ll @@ -16,8 +16,8 @@ ; Verify that we refer to 'yyyy' with a relocation. ; LINUX: .long .Lstring3 # DW_AT_name -; LINUX-NEXT: .long 39 # DW_AT_type -; LINUX-NEXT: .byte 1 # DW_AT_external +; LINUX-NEXT: .long 38 # DW_AT_type +; LINUX-NEXT: # DW_AT_external ; LINUX-NEXT: .byte 1 # DW_AT_decl_file ; LINUX-NEXT: .byte 1 # DW_AT_decl_line ; LINUX-NEXT: .byte 9 # DW_AT_location |

