diff options
Diffstat (limited to 'binutils/testsuite/binutils-all/locview-1.s')
-rw-r--r-- | binutils/testsuite/binutils-all/locview-1.s | 270 |
1 files changed, 270 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/locview-1.s b/binutils/testsuite/binutils-all/locview-1.s new file mode 100644 index 00000000000..d9d9b5b77a2 --- /dev/null +++ b/binutils/testsuite/binutils-all/locview-1.s @@ -0,0 +1,270 @@ + .text +.Ltext0: +.LFB0: + /* locview.c:1 */ +.LM1: + /* view -0 */ + /* locview.c:2 */ +.LM2: + /* view 1 */ +.LVL0: + /* DEBUG i => 0 */ + /* locview.c:3 */ +.LM3: + /* view 2 */ + /* DEBUG j => 0x1 */ + /* locview.c:4 */ +.LM4: + /* view 3 */ + /* DEBUG i => 0x2 */ + /* locview.c:5 */ +.LM5: + /* view 4 */ + /* DEBUG j => 0x3 */ + /* locview.c:6 */ +.LM6: + /* view 5 */ + /* DEBUG k => 0x4 */ + /* DEBUG l => 0x4 */ + /* locview.c:7 */ +.LM7: + /* view 6 */ + /* DEBUG k => 0x5 */ + /* DEBUG l => 0x5 */ + /* locview.c:8 */ +.LM8: + /* view 7 */ + /* DEBUG k => 0x6 */ + /* DEBUG l => 0x6 */ + /* locview.c:9 */ +.LM9: + /* view 8 */ + .byte 0 +.LFE0: +.Letext0: + + .section .debug_info +.Ldebug_info0: +.LIbase: + .4byte .LIend - .LIstart /* Length of Compilation Unit Info */ +.LIstart: + .2byte 0x4 /* DWARF version number */ + .4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */ + .byte 0x4 /* Pointer Size (in bytes) */ +.LIcu: + .uleb128 0x1 /* (DIE (cu) DW_TAG_compile_unit) */ + .ascii "hand-crafted based on GCC output\0" + .byte 0xc /* DW_AT_language */ + .ascii "locview.c\0" + .ascii "/tmp\0" + .4byte 0 /* DW_AT_low_pc */ +.LIsubf: + .uleb128 0x2 /* (DIE (subf) DW_TAG_subprogram) */ + .ascii "f\0" /* DW_AT_name */ + .byte 0x1 /* DW_AT_decl_file (locview.c) */ + .byte 0x1 /* DW_AT_decl_line */ + .4byte .LIint-.LIbase /* DW_AT_type */ + .4byte .LFB0 /* DW_AT_low_pc */ + .4byte 1 /* .LFE0-.LFB0 */ /* DW_AT_high_pc */ + .uleb128 0x1 /* DW_AT_frame_base */ + .byte 0x9c /* DW_OP_call_frame_cfa */ + /* DW_AT_GNU_all_call_sites */ + .4byte .LIint - .LIbase /* DW_AT_sibling */ +.LIvari: + .uleb128 0x3 /* (DIE (vari) DW_TAG_variable) */ + .ascii "i\0" /* DW_AT_name */ + .byte 0x1 /* DW_AT_decl_file (locview.c) */ + .byte 0x2 /* DW_AT_decl_line */ + .4byte .LIint-.LIbase /* DW_AT_type */ + .4byte .LLST0 /* DW_AT_location */ + .4byte .LVUS0 /* DW_AT_GNU_locviews */ +.LIvarj: + .uleb128 0x3 /* (DIE (varf) DW_TAG_variable) */ + .ascii "j\0" /* DW_AT_name */ + .byte 0x1 /* DW_AT_decl_file (locview.c) */ + .byte 0x3 /* DW_AT_decl_line */ + .4byte .LIint - .LIbase /* DW_AT_type */ + .4byte .LLST1 /* DW_AT_location */ + .4byte .LVUS1 /* DW_AT_GNU_locviews */ +.LIvark: + .uleb128 0x5 /* (DIE (vark) DW_TAG_variable) */ + .ascii "k\0" /* DW_AT_name */ + .byte 0x1 /* DW_AT_decl_file (locview.c) */ + .byte 0x6 /* DW_AT_decl_line */ + .4byte .LIint - .LIbase /* DW_AT_type */ + .4byte .LVUS2 /* DW_AT_GNU_locviews */ + .4byte .LLST2 /* DW_AT_location */ + .byte 0 /* end of children of subf */ +.LIvarl: + .uleb128 0x5 /* (DIE (varl) DW_TAG_variable) */ + .ascii "l\0" /* DW_AT_name */ + .byte 0x1 /* DW_AT_decl_file (locview.c) */ + .byte 0x6 /* DW_AT_decl_line */ + .4byte .LIint - .LIbase /* DW_AT_type */ + .4byte .LVUS2 /* DW_AT_GNU_locviews */ + .4byte .LLST2 /* DW_AT_location */ + .byte 0 /* end of children of subf */ + +.LIint: + .uleb128 0x4 /* (DIE (int) DW_TAG_base_type) */ + .byte 0x4 /* DW_AT_byte_size */ + .byte 0x5 /* DW_AT_encoding */ + .ascii "int\0" /* DW_AT_name */ + .byte 0 /* end of children of cu */ +.LIend: + + .section .debug_abbrev +.Ldebug_abbrev0: +.LAbrv1: + .uleb128 0x1 /* (abbrev code) */ + .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */ + .byte 0x1 /* DW_children_yes */ + .uleb128 0x25 /* (DW_AT_producer) */ + .uleb128 0x8 /* (DW_FORM_string) */ + .uleb128 0x13 /* (DW_AT_language) */ + .uleb128 0xb /* (DW_FORM_data1) */ + .uleb128 0x3 /* (DW_AT_name) */ + .uleb128 0x8 /* (DW_FORM_string) */ + .uleb128 0x1b /* (DW_AT_comp_dir) */ + .uleb128 0x8 /* (DW_FORM_string) */ + .uleb128 0x11 /* (DW_AT_low_pc) */ + .uleb128 0x1 /* (DW_FORM_addr) */ + .byte 0 + .byte 0 +.LAbrv2: + .uleb128 0x2 /* (abbrev code) */ + .uleb128 0x2e /* (TAG: DW_TAG_subprogram) */ + .byte 0x1 /* DW_children_yes */ + .uleb128 0x3 /* (DW_AT_name) */ + .uleb128 0x8 /* (DW_FORM_string) */ + .uleb128 0x3a /* (DW_AT_decl_file) */ + .uleb128 0xb /* (DW_FORM_data1) */ + .uleb128 0x3b /* (DW_AT_decl_line) */ + .uleb128 0xb /* (DW_FORM_data1) */ + .uleb128 0x49 /* (DW_AT_type) */ + .uleb128 0x13 /* (DW_FORM_ref4) */ + .uleb128 0x11 /* (DW_AT_low_pc) */ + .uleb128 0x1 /* (DW_FORM_addr) */ + .uleb128 0x12 /* (DW_AT_high_pc) */ + .uleb128 0x6 /* (DW_FORM_data4) */ + .uleb128 0x40 /* (DW_AT_frame_base) */ + .uleb128 0x18 /* (DW_FORM_exprloc) */ + .uleb128 0x2117 /* (DW_AT_GNU_all_call_sites) */ + .uleb128 0x19 /* (DW_FORM_flag_present) */ + .uleb128 0x1 /* (DW_AT_sibling) */ + .uleb128 0x13 /* (DW_FORM_ref4) */ + .byte 0 + .byte 0 +.LAbrv3: + .uleb128 0x3 /* (abbrev code) */ + .uleb128 0x34 /* (TAG: DW_TAG_variable) */ + .byte 0 /* DW_children_no */ + .uleb128 0x3 /* (DW_AT_name) */ + .uleb128 0x8 /* (DW_FORM_string) */ + .uleb128 0x3a /* (DW_AT_decl_file) */ + .uleb128 0xb /* (DW_FORM_data1) */ + .uleb128 0x3b /* (DW_AT_decl_line) */ + .uleb128 0xb /* (DW_FORM_data1) */ + .uleb128 0x49 /* (DW_AT_type) */ + .uleb128 0x13 /* (DW_FORM_ref4) */ + .uleb128 0x2 /* (DW_AT_location) */ + .uleb128 0x17 /* (DW_FORM_sec_offset) */ + .uleb128 0x2137 /* (DW_AT_GNU_locviews) */ + .uleb128 0x17 /* (DW_FORM_sec_offset) */ + .byte 0 + .byte 0 +.LAbrv4: + .uleb128 0x4 /* (abbrev code) */ + .uleb128 0x24 /* (TAG: DW_TAG_base_type) */ + .byte 0 /* DW_children_no */ + .uleb128 0xb /* (DW_AT_byte_size) */ + .uleb128 0xb /* (DW_FORM_data1) */ + .uleb128 0x3e /* (DW_AT_encoding) */ + .uleb128 0xb /* (DW_FORM_data1) */ + .uleb128 0x3 /* (DW_AT_name) */ + .uleb128 0x8 /* (DW_FORM_string) */ + .byte 0 + .byte 0 +.LAbrv5: + .uleb128 0x5 /* (abbrev code) */ + .uleb128 0x34 /* (TAG: DW_TAG_variable) */ + .byte 0 /* DW_children_no */ + .uleb128 0x3 /* (DW_AT_name) */ + .uleb128 0x8 /* (DW_FORM_string) */ + .uleb128 0x3a /* (DW_AT_decl_file) */ + .uleb128 0xb /* (DW_FORM_data1) */ + .uleb128 0x3b /* (DW_AT_decl_line) */ + .uleb128 0xb /* (DW_FORM_data1) */ + .uleb128 0x49 /* (DW_AT_type) */ + .uleb128 0x13 /* (DW_FORM_ref4) */ + .uleb128 0x2137 /* (DW_AT_GNU_locviews) */ + .uleb128 0x17 /* (DW_FORM_sec_offset) */ + .uleb128 0x2 /* (DW_AT_location) */ + .uleb128 0x17 /* (DW_FORM_sec_offset) */ + .byte 0 + .byte 0 + .byte 0 + + .section .debug_loc +.Ldebug_loc0: +.LVUS0: + .uleb128 0x2 /* View list begin (*.LVUS0) */ + .uleb128 0x4 /* View list end (*.LVUS0) */ + .uleb128 0x4 /* View list begin (*.LVUS0) */ + .uleb128 0 /* View list end (*.LVUS0) */ +.LLST0: + .4byte .LVL0 /* Location list begin address (*.LLST0) */ + .4byte .LVL0 /* Location list end address (*.LLST0) */ + .2byte 0x2 /* Location expression size */ + .byte 0x30 /* DW_OP_lit0 */ + .byte 0x9f /* DW_OP_stack_value */ + .4byte .LVL0 /* Location list begin address (*.LLST0) */ + .4byte .LFE0 /* Location list end address (*.LLST0) */ + .2byte 0x2 /* Location expression size */ + .byte 0x32 /* DW_OP_lit2 */ + .byte 0x9f /* DW_OP_stack_value */ + .4byte 0 /* Location list terminator begin (*.LLST0) */ + .4byte 0 /* Location list terminator end (*.LLST0) */ +.LLST1: + .4byte .LVL0 /* Location list begin address (*.LLST1) */ + .4byte .LVL0 /* Location list end address (*.LLST1) */ + .2byte 0x2 /* Location expression size */ + .byte 0x31 /* DW_OP_lit1 */ + .byte 0x9f /* DW_OP_stack_value */ + .4byte .LVL0 /* Location list begin address (*.LLST1) */ + .4byte .LFE0 /* Location list end address (*.LLST1) */ + .2byte 0x2 /* Location expression size */ + .byte 0x33 /* DW_OP_lit3 */ + .byte 0x9f /* DW_OP_stack_value */ + .4byte 0 /* Location list terminator begin (*.LLST1) */ + .4byte 0 /* Location list terminator end (*.LLST1) */ +.LVUS1: + .uleb128 0x3 /* View list begin (*.LVUS1) */ + .uleb128 0x5 /* View list end (*.LVUS1) */ + .uleb128 0x5 /* View list begin (*.LVUS1) */ + .uleb128 0 /* View list end (*.LVUS1) */ +.LVUS2: + .uleb128 0x6 /* View list begin (*.LVUS2) */ + .uleb128 0x7 /* View list end (*.LVUS2) */ + .uleb128 0x7 /* View list begin (*.LVUS2) */ + .uleb128 0x8 /* View list end (*.LVUS2) */ + .uleb128 0x8 /* View list begin (*.LVUS2) */ + .uleb128 0 /* View list end (*.LVUS2) */ +.LLST2: + .4byte .LVL0 /* Location list begin address (*.LLST2) */ + .4byte .LVL0 /* Location list end address (*.LLST2) */ + .2byte 0x2 /* Location expression size */ + .byte 0x34 /* DW_OP_lit4 */ + .byte 0x9f /* DW_OP_stack_value */ + .4byte .LVL0 /* Location list begin address (*.LLST2) */ + .4byte .LVL0 /* Location list end address (*.LLST2) */ + .2byte 0x2 /* Location expression size */ + .byte 0x35 /* DW_OP_lit5 */ + .byte 0x9f /* DW_OP_stack_value */ + .4byte .LVL0 /* Location list begin address (*.LLST2) */ + .4byte .LFE0 /* Location list end address (*.LLST2) */ + .2byte 0x2 /* Location expression size */ + .byte 0x36 /* DW_OP_lit6 */ + .byte 0x9f /* DW_OP_stack_value */ + .4byte 0 /* Location list terminator begin (*.LLST2) */ + .4byte 0 /* Location list terminator end (*.LLST2) */ |