forked from OSchip/llvm-project
[lldb] Make DW_AT_declaration-with-children.s test more realistic
(Re)add DW_AT_specification and DW_AT_object_pointer attributes. These
were removed in fa89f641c
, as they were bogus due to bad test case
reduction.
This commit is contained in:
parent
f8b04e0653
commit
dfb2266328
|
@ -147,6 +147,10 @@ c1:
|
||||||
.byte 6 # DW_FORM_data4
|
.byte 6 # DW_FORM_data4
|
||||||
.byte 64 # DW_AT_frame_base
|
.byte 64 # DW_AT_frame_base
|
||||||
.byte 24 # DW_FORM_exprloc
|
.byte 24 # DW_FORM_exprloc
|
||||||
|
.byte 100 # DW_AT_object_pointer
|
||||||
|
.byte 19 # DW_FORM_ref4
|
||||||
|
.byte 71 # DW_AT_specification
|
||||||
|
.byte 19 # DW_FORM_ref4
|
||||||
.byte 0 # EOM(1)
|
.byte 0 # EOM(1)
|
||||||
.byte 0 # EOM(2)
|
.byte 0 # EOM(2)
|
||||||
.byte 11 # Abbreviation Code
|
.byte 11 # Abbreviation Code
|
||||||
|
@ -202,6 +206,7 @@ c1:
|
||||||
.byte 3 # Abbrev [3] DW_TAG_structure_type
|
.byte 3 # Abbrev [3] DW_TAG_structure_type
|
||||||
.asciz "A" # DW_AT_name
|
.asciz "A" # DW_AT_name
|
||||||
# DW_AT_declaration
|
# DW_AT_declaration
|
||||||
|
.LA_A:
|
||||||
.byte 4 # Abbrev [4] DW_TAG_subprogram
|
.byte 4 # Abbrev [4] DW_TAG_subprogram
|
||||||
.asciz "A" # DW_AT_name
|
.asciz "A" # DW_AT_name
|
||||||
# DW_AT_declaration
|
# DW_AT_declaration
|
||||||
|
@ -218,6 +223,9 @@ c1:
|
||||||
.long .LZN1AC2Ev_end-_ZN1AC2Ev # DW_AT_high_pc
|
.long .LZN1AC2Ev_end-_ZN1AC2Ev # DW_AT_high_pc
|
||||||
.byte 1 # DW_AT_frame_base
|
.byte 1 # DW_AT_frame_base
|
||||||
.byte 86
|
.byte 86
|
||||||
|
.long .Lthis-.Lcu_begin0 # DW_AT_object_pointer
|
||||||
|
.long .LA_A-.Lcu_begin0 # DW_AT_specification
|
||||||
|
.Lthis:
|
||||||
.byte 11 # Abbrev [11] DW_TAG_formal_parameter
|
.byte 11 # Abbrev [11] DW_TAG_formal_parameter
|
||||||
.byte 2 # DW_AT_location
|
.byte 2 # DW_AT_location
|
||||||
.byte 145
|
.byte 145
|
||||||
|
|
Loading…
Reference in New Issue