119 lines · plain
1# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t2# RUN: %lldb %t -o "target variable integer structure" -o exit | FileCheck %s3 4# CHECK: (_Atomic(int)) integer = 141595# CHECK: (_Atomic(struct_type)) structure = (member = 71828)6 7 .data8integer:9 .long 1415910structure:11 .long 7182812 13 .section .debug_abbrev,"",@progbits14 .byte 1 # Abbreviation Code15 .byte 17 # DW_TAG_compile_unit16 .byte 1 # DW_CHILDREN_yes17 .byte 37 # DW_AT_producer18 .byte 8 # DW_FORM_string19 .byte 19 # DW_AT_language20 .byte 5 # DW_FORM_data221 .byte 0 # EOM(1)22 .byte 0 # EOM(2)23 .byte 2 # Abbreviation Code24 .byte 52 # DW_TAG_variable25 .byte 0 # DW_CHILDREN_no26 .byte 3 # DW_AT_name27 .byte 8 # DW_FORM_string28 .byte 73 # DW_AT_type29 .byte 19 # DW_FORM_ref430 .byte 2 # DW_AT_location31 .byte 24 # DW_FORM_exprloc32 .byte 0 # EOM(1)33 .byte 0 # EOM(2)34 .byte 3 # Abbreviation Code35 .byte 71 # DW_TAG_atomic_type36 .byte 0 # DW_CHILDREN_no37 .byte 73 # DW_AT_type38 .byte 19 # DW_FORM_ref439 .byte 0 # EOM(1)40 .byte 0 # EOM(2)41 .byte 4 # Abbreviation Code42 .byte 36 # DW_TAG_base_type43 .byte 0 # DW_CHILDREN_no44 .byte 3 # DW_AT_name45 .byte 8 # DW_FORM_string46 .byte 62 # DW_AT_encoding47 .byte 11 # DW_FORM_data148 .byte 11 # DW_AT_byte_size49 .byte 11 # DW_FORM_data150 .byte 0 # EOM(1)51 .byte 0 # EOM(2)52 .byte 5 # Abbreviation Code53 .byte 19 # DW_TAG_structure_type54 .byte 1 # DW_CHILDREN_yes55 .byte 3 # DW_AT_name56 .byte 8 # DW_FORM_string57 .byte 11 # DW_AT_byte_size58 .byte 11 # DW_FORM_data159 .byte 0 # EOM(1)60 .byte 0 # EOM(2)61 .byte 6 # Abbreviation Code62 .byte 13 # DW_TAG_member63 .byte 0 # DW_CHILDREN_no64 .byte 3 # DW_AT_name65 .byte 8 # DW_FORM_string66 .byte 73 # DW_AT_type67 .byte 19 # DW_FORM_ref468 .byte 56 # DW_AT_data_member_location69 .byte 11 # DW_FORM_data170 .byte 0 # EOM(1)71 .byte 0 # EOM(2)72 .byte 0 # EOM(3)73 74 .section .debug_info,"",@progbits75.Lcu_begin0:76 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit77.Ldebug_info_start0:78 .short 5 # DWARF version number79 .byte 1 # DWARF Unit Type80 .byte 8 # Address Size (in bytes)81 .long .debug_abbrev # Offset Into Abbrev. Section82 .byte 1 # Abbrev [1] 0xb:0x50 DW_TAG_compile_unit83 .asciz "Hand-written DWARF" # DW_AT_producer84 .short 12 # DW_AT_language85 .byte 2 # Abbrev [2] DW_TAG_variable86 .asciz "integer" # DW_AT_name87 .long .Latomic_int # DW_AT_type88 .byte 9 # DW_AT_location89 .byte 390 .quad integer91 .byte 2 # Abbrev [2] DW_TAG_variable92 .asciz "structure" # DW_AT_name93 .long .Latomic_struct # DW_AT_type94 .byte 9 # DW_AT_location95 .byte 396 .quad structure97.Latomic_int:98 .byte 3 # Abbrev [3] DW_TAG_atomic_type99 .long .Lint # DW_AT_type100.Lint:101 .byte 4 # Abbrev [4] 0x53:0x7 DW_TAG_base_type102 .asciz "int" # DW_AT_name103 .byte 5 # DW_AT_encoding104 .byte 4 # DW_AT_byte_size105.Latomic_struct:106 .byte 3 # Abbrev [3] DW_TAG_atomic_type107 .long .Lstruct # DW_AT_type108.Lstruct:109 .byte 5 # Abbrev [5] DW_TAG_structure_type110 .asciz "struct_type" # DW_AT_name111 .byte 4 # DW_AT_byte_size112 .byte 6 # Abbrev [6] DW_TAG_member113 .asciz "member" # DW_AT_name114 .long .Lint # DW_AT_type115 .byte 0 # DW_AT_data_member_location116 .byte 0 # End Of Children Mark117 .byte 0 # End Of Children Mark118.Ldebug_info_end0:119