summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-03-20 00:12:06 +0000
committerEric Christopher <echristo@gmail.com>2014-03-20 00:12:06 +0000
commite9551ec1a06c87c41ee2f5ba434a3f4f79ad6342 (patch)
tree76c0796ad0239746ff3e2530e9861eaa249007f2 /llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
parent5f56e9d6cb2f5641c7537a7a2a5529c62107fe36 (diff)
downloadbcm5719-llvm-e9551ec1a06c87c41ee2f5ba434a3f4f79ad6342.tar.gz
bcm5719-llvm-e9551ec1a06c87c41ee2f5ba434a3f4f79ad6342.zip
Revert "Use the range machinery for DW_AT_ranges and DW_AT_high/lo_pc."
This appears to trigger failures with optimization and function arguments somehow. This reverts commit r204277. llvm-svn: 204286
Diffstat (limited to 'llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll')
-rw-r--r--llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll18
1 files changed, 7 insertions, 11 deletions
diff --git a/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll b/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
index 344d063266b..b65745b2b71 100644
--- a/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
+++ b/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
@@ -8,20 +8,13 @@
; CHECK: .debug_info contents:
; CHECK: DW_TAG_compile_unit
; CHECK: DW_AT_stmt_list [DW_FORM_sec_offset] (0x00000000)
+; CHECK: DW_AT_ranges [DW_FORM_sec_offset] (0x00000000)
; CHECK: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000)
-; CHECK: DW_AT_high_pc [DW_FORM_data4] (0x00000010)
-; CHECK: DW_TAG_subprogram
-; CHECK: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000)
-; CHECK: DW_AT_high_pc [DW_FORM_data4] (0x00000010)
; CHECK: DW_TAG_compile_unit
; CHECK: DW_AT_stmt_list [DW_FORM_sec_offset] (0x0000003c)
-; CHECK: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000010)
-; CHECK: DW_AT_high_pc [DW_FORM_data4] (0x00000009)
-; CHECK: DW_TAG_subprogram
-; CHECK: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000010)
-; CHECK: DW_AT_high_pc [DW_FORM_data4] (0x00000009)
-
+; CHECK: DW_AT_ranges [DW_FORM_sec_offset] (0x00000020)
+; CHECK: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000)
; CHECK: .debug_line contents:
; CHECK-NEXT: Line table prologue:
@@ -35,10 +28,13 @@
; DWARF3: .debug_info contents:
; DWARF3: DW_TAG_compile_unit
; DWARF3: DW_AT_stmt_list [DW_FORM_data4] (0x00000000)
+; DWARF3: DW_AT_ranges [DW_FORM_data4] (0x00000000)
+; DWARF3: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000)
; DWARF3: DW_TAG_compile_unit
; DWARF3: DW_AT_stmt_list [DW_FORM_data4] (0x0000003c)
-
+; DWARF3: DW_AT_ranges [DW_FORM_data4] (0x00000020)
+; DWARF3: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000)
; DWARF3: .debug_line contents:
; DWARF3-NEXT: Line table prologue:
OpenPOWER on IntegriCloud