summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/tools/llvm-dwarfdump/X86/gnu_call_site.s65
1 files changed, 34 insertions, 31 deletions
diff --git a/llvm/test/tools/llvm-dwarfdump/X86/gnu_call_site.s b/llvm/test/tools/llvm-dwarfdump/X86/gnu_call_site.s
index 5eeda747a1d..d2896a4cfe5 100644
--- a/llvm/test/tools/llvm-dwarfdump/X86/gnu_call_site.s
+++ b/llvm/test/tools/llvm-dwarfdump/X86/gnu_call_site.s
@@ -4,7 +4,7 @@
# CHECK: DW_TAG_subprogram
# CHECK-NEXT: DW_AT_external (true)
# CHECK-NEXT: DW_AT_name ("fn4")
-# CHECK-NEXT: DW_AT_linkage_name ()
+# CHECK-NEXT: DW_AT_linkage_name ("test")
# CHECK-NEXT: DW_AT_low_pc (0x0000000000000000)
# CHECK-NEXT: DW_AT_high_pc (0x00000000)
# CHECK-NEXT: DW_AT_frame_base (DW_OP_call_frame_cfa)
@@ -12,7 +12,7 @@
# CHECK: DW_TAG_GNU_call_site
# CHECK-NEXT: DW_AT_low_pc (0x0000000000000000)
-# CHECK-NEXT: DW_AT_abstract_origin (cu + 0x0001)
+# CHECK-NEXT: DW_AT_abstract_origin (cu + 0x0021 "test")
# CHECK: DW_TAG_GNU_call_site_parameter
# CHECK-NEXT: DW_AT_location (DW_OP_reg0 EAX)
@@ -31,7 +31,6 @@
.long 0
.long 0
.long 0
- .long 0
.uleb128 0xe # DW_TAG_subprogram [14]
.string "fn4"
@@ -43,7 +42,7 @@
.uleb128 0x12 # DW_TAG_GNU_call_site [18]
.long 0x0
- .long 0x1
+ .long 0x21
.uleb128 0x13 # DW_TAG_GNU_call_site_parameter [19]
.uleb128 0x1
@@ -55,64 +54,68 @@
.byte 0
.byte 0
+ .byte 0
+ .byte 0
+
.section .debug_abbrev,"",@progbits
.uleb128 0x1
- .uleb128 0x11
- .byte 0x1 # [1]
- .uleb128 0x25
+ .uleb128 0x11 # DW_TAG_compile_unit, DW_CHILDREN_yes
+ .byte 0x1
+ .uleb128 0x25 # DW_AT_producer, DW_FORM_strp
.uleb128 0xe
- .uleb128 0x13
+ .uleb128 0x13 # DW_AT_language, DW_FORM_data1
.uleb128 0xb
- .uleb128 0x3
+ .uleb128 0x3 # DW_AT_name, DW_FORM_strp
.uleb128 0xe
- .uleb128 0x1b
+ .uleb128 0x1b # DW_AT_comp_dir, DW_FORM_strp
.uleb128 0xe
- .uleb128 0x11
+ .uleb128 0x11 # DW_AT_low_pc, DW_FORM_addr
.uleb128 0x1
- .uleb128 0x12
+ .uleb128 0x12 # DW_AT_high_pc, DW_FORM_data4
.uleb128 0x6
- .uleb128 0x10
- .uleb128 0x17
.byte 0
.byte 0
- .uleb128 0xe # [14]
- .uleb128 0x2e
+ .uleb128 0xe # [14]
+ .uleb128 0x2e # DW_TAG_subprogram, DW_CHILDREN_yes
.byte 0x1
- .uleb128 0x3f
+ .uleb128 0x3f # DW_AT_external, DW_FORM_flag_present
.uleb128 0x19
- .uleb128 0x3
+ .uleb128 0x3 # DW_AT_name, DW_FORM_string
.uleb128 0x8
- .uleb128 0x6e
+ .uleb128 0x6e # DW_AT_linkage_name, DW_FORM_strp
.uleb128 0xe
- .uleb128 0x11
+ .uleb128 0x11 # DW_AT_low_pc, DW_FORM_addr
.uleb128 0x1
- .uleb128 0x12
+ .uleb128 0x12 # DW_AT_high_pc, DW_FORM_data4
.uleb128 0x6
- .uleb128 0x40
+ .uleb128 0x40 # DW_AT_frame_base, DW_FORM_exprloc
.uleb128 0x18
- .uleb128 0x2117
+ .uleb128 0x2117 # DW_AT_GNU_all_call_sites, DW_FORM_flag_present
.uleb128 0x19
.byte 0
.byte 0
- .uleb128 0x12 # [18]
- .uleb128 0x4109
+ .uleb128 0x12 # [18]
+ .uleb128 0x4109 # DW_TAG_GNU_call_site, DW_CHILDREN_yes
.byte 0x1
- .uleb128 0x11
+ .uleb128 0x11 # DW_AT_low_pc, DW_FORM_addr
.uleb128 0x1
- .uleb128 0x31
+ .uleb128 0x31 # DW_AT_abstract_origin, DW_FORM_ref4
.uleb128 0x13
.byte 0
.byte 0
- .uleb128 0x13 # [19]
- .uleb128 0x410a
+ .uleb128 0x13 # [19]
+ .uleb128 0x410a # DW_TAG_GNU_call_site_parameter, DW_CHILDREN_no
.byte 0
- .uleb128 0x2
+ .uleb128 0x2 # DW_AT_location, DW_FORM_exprloc
.uleb128 0x18
- .uleb128 0x2111
+ .uleb128 0x2111 # DW_AT_GNU_call_site_value, DW_FORM_exprloc
.uleb128 0x18
.byte 0
.byte 0
.byte 0
+
+.section .debug_str,"MS",@progbits,1
+.string "test"
OpenPOWER on IntegriCloud