brintos

brintos / llvm-project-archived public Read only

0
0
Text · 5.5 KiB · 96e4abe Raw
111 lines · plain
1# RUN: llvm-mc -filetype=obj -o %t -triple x86_64-pc-linux %s2# RUN: %lldb %t -o "target variable reset" -b | FileCheck %s3 4# CHECK: (lldb) target variable reset5# CHECK: (auto_reset) reset = {6# CHECK:   ptr = 0xdeadbeefbaadf00d7# Note: We need to find some way to represent "prev" as unknown/undefined.8# CHECK:   prev = false9# CHECK: }10 11        .section        .debug_abbrev,"",@progbits12        .byte   1                       # Abbreviation Code13        .byte   17                      # DW_TAG_compile_unit14        .byte   1                       # DW_CHILDREN_yes15        .byte   0                       # EOM(1)16        .byte   0                       # EOM(2)17        .byte   2                       # Abbreviation Code18        .byte   52                      # DW_TAG_variable19        .byte   0                       # DW_CHILDREN_no20        .byte   3                       # DW_AT_name21        .byte   8                       # DW_FORM_string22        .byte   73                      # DW_AT_type23        .byte   19                      # DW_FORM_ref424        .byte   2                       # DW_AT_location25        .byte   24                      # DW_FORM_exprloc26        .byte   0                       # EOM(1)27        .byte   0                       # EOM(2)28        .byte   3                       # Abbreviation Code29        .byte   36                      # DW_TAG_base_type30        .byte   0                       # DW_CHILDREN_no31        .byte   3                       # DW_AT_name32        .byte   8                       # DW_FORM_string33        .byte   62                      # DW_AT_encoding34        .byte   11                      # DW_FORM_data135        .byte   11                      # DW_AT_byte_size36        .byte   11                      # DW_FORM_data137        .byte   0                       # EOM(1)38        .byte   0                       # EOM(2)39        .byte   4                       # Abbreviation Code40        .byte   19                      # DW_TAG_structure_type41        .byte   1                       # DW_CHILDREN_yes42        .byte   3                       # DW_AT_name43        .byte   8                       # DW_FORM_string44        .byte   11                      # DW_AT_byte_size45        .byte   11                      # DW_FORM_data146        .byte   0                       # EOM(1)47        .byte   0                       # EOM(2)48        .byte   5                       # Abbreviation Code49        .byte   13                      # DW_TAG_member50        .byte   0                       # DW_CHILDREN_no51        .byte   3                       # DW_AT_name52        .byte   8                       # DW_FORM_string53        .byte   73                      # DW_AT_type54        .byte   19                      # DW_FORM_ref455        .byte   56                      # DW_AT_data_member_location56        .byte   11                      # DW_FORM_data157        .byte   0                       # EOM(1)58        .byte   0                       # EOM(2)59        .byte   6                       # Abbreviation Code60        .byte   15                      # DW_TAG_pointer_type61        .byte   0                       # DW_CHILDREN_no62        .byte   73                      # DW_AT_type63        .byte   19                      # DW_FORM_ref464        .byte   0                       # EOM(1)65        .byte   0                       # EOM(2)66        .byte   0                       # EOM(3)67 68        .section        .debug_info,"",@progbits69.Lcu_begin0:70        .long   .Lcu_end-.Lcu_start     # Length of Unit71.Lcu_start:72        .short  4                       # DWARF version number73        .long   .debug_abbrev           # Offset Into Abbrev. Section74        .byte   8                       # Address Size (in bytes)75        .byte   1                       # Abbrev [1] 0xb:0x6c DW_TAG_compile_unit76.Lbool:77        .byte   3                       # Abbrev [3] 0x33:0x7 DW_TAG_base_type78        .asciz  "bool"                  # DW_AT_name79        .byte   2                       # DW_AT_encoding80        .byte   1                       # DW_AT_byte_size81        .byte   2                       # Abbrev [2] 0x3a:0x15 DW_TAG_variable82        .asciz  "reset"                 # DW_AT_name83        .long   .Lstruct                # DW_AT_type84        .byte   2f-1f                   # DW_AT_location851:86        .byte   0xe                     # DW_OP_constu87        .quad   0xdeadbeefbaadf00d88        .byte   0x9f                    # DW_OP_stack_value89        .byte   0x93                    # DW_OP_piece90        .uleb128 891        # Note: Only the first 8 bytes of the struct are described.922:93.Lstruct:94        .byte   4                       # Abbrev [4] 0x4f:0x22 DW_TAG_structure_type95        .asciz  "auto_reset"            # DW_AT_name96        .byte   16                      # DW_AT_byte_size97        .byte   5                       # Abbrev [5] 0x58:0xc DW_TAG_member98        .asciz  "ptr"                   # DW_AT_name99        .long   .Lbool_ptr              # DW_AT_type100        .byte   0                       # DW_AT_data_member_location101        .byte   5                       # Abbrev [5] 0x64:0xc DW_TAG_member102        .asciz  "prev"                  # DW_AT_name103        .long   .Lbool                  # DW_AT_type104        .byte   8                       # DW_AT_data_member_location105        .byte   0                       # End Of Children Mark106.Lbool_ptr:107        .byte   6                       # Abbrev [6] 0x71:0x5 DW_TAG_pointer_type108        .long   .Lbool                  # DW_AT_type109        .byte   0                       # End Of Children Mark110.Lcu_end:111