Skip to content

Commit 403bbca

Browse files
author
walter erquinigo
committed
fix fix
1 parent dce501d commit 403bbca

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_const_value.s

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o %t
55
# RUN: %lldb %t \
6-
# RUN: -o "target variable udata data1 data2 data4 data8 data16 string strp ref4 udata_ptr" \
6+
# RUN: -o "target variable udata data1 data2 data4 data8 string strp ref4 udata_ptr" \
7+
# RUN: -o "target variable --format x data16" \
78
# RUN: -o exit | FileCheck %s
89

910
# CHECK-LABEL: target variable
@@ -14,7 +15,6 @@
1415
# CHECK: (unsigned long) data2 = 4742
1516
# CHECK: (unsigned long) data4 = 47424742
1617
# CHECK: (unsigned long) data8 = 4742474247424742
17-
# CHECK: (unsigned __int128) data16 = 129440743495415807670381713415221633377
1818
## Variables specified using string forms. This behavior purely speculative -- I
1919
## don't know of any compiler that would represent character strings this way.
2020
# CHECK: (char[7]) string = "string"
@@ -23,6 +23,8 @@
2323
# CHECK: (char[7]) ref4 = <empty constant data>
2424
## A variable of pointer type.
2525
# CHECK: (unsigned long *) udata_ptr = 0xdeadbeefbaadf00d
26+
# CHECK: (unsigned __int128) data16 = 0xdeadbeefbaadf00ddeadbeefbaadf00d
27+
2628

2729
.section .debug_abbrev,"",@progbits
2830
.byte 1 # Abbreviation Code
@@ -175,7 +177,8 @@
175177
.byte 18 # Abbrev DW_TAG_variable
176178
.asciz "data16" # DW_AT_name
177179
.long .Lu128-.Lcu_begin0 # DW_AT_type
178-
.asciz "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" # DW_AT_const_value
180+
.quad 0xdeadbeefbaadf00d # DW_AT_const_value
181+
.quad 0xdeadbeefbaadf00d # DW_AT_const_value
179182

180183
.byte 0 # End Of Children Mark
181184
.Ldebug_info_end0:

0 commit comments

Comments
 (0)