| 1 | #source: dw2-compress-1.s |
| 2 | #as: --compress-debug-sections=zlib-gabi |
| 3 | #readelf: -w |
| 4 | #name: DWARF2 debugging information 1 with SHF_COMPRESSED |
| 5 | |
| 6 | Contents of the .debug_info section: |
| 7 | |
| 8 | Compilation Unit @ offset 0x0: |
| 9 | Length: 0x4e \(32-bit\) |
| 10 | Version: 2 |
| 11 | Abbrev Offset: 0x0 |
| 12 | Pointer Size: 4 |
| 13 | <0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\) |
| 14 | <c> DW_AT_stmt_list : 0x0 |
| 15 | <10> DW_AT_high_pc : 0x4 |
| 16 | <14> DW_AT_low_pc : 0x0 |
| 17 | <18> DW_AT_name : file1.txt |
| 18 | <22> DW_AT_producer : GNU C 3.3.3 |
| 19 | <2e> DW_AT_language : 1 \(ANSI C\) |
| 20 | <1><2f>: Abbrev Number: 2 \(DW_TAG_subprogram\) |
| 21 | <30> DW_AT_external : 1 |
| 22 | <31> DW_AT_decl_file : 1 |
| 23 | <32> DW_AT_decl_line : 2 |
| 24 | <33> DW_AT_name : func_cu1 |
| 25 | <3c> DW_AT_type : <0x4a> |
| 26 | <40> DW_AT_low_pc : 0x0 |
| 27 | <44> DW_AT_high_pc : 0x4 |
| 28 | <48> DW_AT_frame_base : 1 byte block: 55 \(DW_OP_reg5 \([^()]*\)\) |
| 29 | <1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\) |
| 30 | <4b> DW_AT_name : int |
| 31 | <4f> DW_AT_byte_size : 4 |
| 32 | <50> DW_AT_encoding : 5 \(signed\) |
| 33 | <1><51>: Abbrev Number: 0 |
| 34 | |
| 35 | Contents of the .debug_abbrev section: |
| 36 | |
| 37 | Number TAG \(0x0\) |
| 38 | 1 DW_TAG_compile_unit \[has children\] |
| 39 | DW_AT_stmt_list DW_FORM_data4 |
| 40 | DW_AT_high_pc DW_FORM_addr |
| 41 | DW_AT_low_pc DW_FORM_addr |
| 42 | DW_AT_name DW_FORM_string |
| 43 | DW_AT_producer DW_FORM_string |
| 44 | DW_AT_language DW_FORM_data1 |
| 45 | DW_AT value: 0 DW_FORM value: 0 |
| 46 | 2 DW_TAG_subprogram \[no children\] |
| 47 | DW_AT_external DW_FORM_flag |
| 48 | DW_AT_decl_file DW_FORM_data1 |
| 49 | DW_AT_decl_line DW_FORM_data1 |
| 50 | DW_AT_name DW_FORM_string |
| 51 | DW_AT_type DW_FORM_ref4 |
| 52 | DW_AT_low_pc DW_FORM_addr |
| 53 | DW_AT_high_pc DW_FORM_addr |
| 54 | DW_AT_frame_base DW_FORM_block1 |
| 55 | DW_AT value: 0 DW_FORM value: 0 |
| 56 | 3 DW_TAG_base_type \[no children\] |
| 57 | DW_AT_name DW_FORM_string |
| 58 | DW_AT_byte_size DW_FORM_data1 |
| 59 | DW_AT_encoding DW_FORM_data1 |
| 60 | DW_AT value: 0 DW_FORM value: 0 |
| 61 | |
| 62 | Raw dump of debug contents of section .debug_line: |
| 63 | |
| 64 | Offset: 0x0 |
| 65 | Length: 62 |
| 66 | DWARF Version: 2 |
| 67 | Prologue Length: 35 |
| 68 | Minimum Instruction Length: 1 |
| 69 | Initial value of 'is_stmt': 1 |
| 70 | Line Base: 1 |
| 71 | Line Range: 1 |
| 72 | Opcode Base: 16 |
| 73 | |
| 74 | Opcodes: |
| 75 | Opcode 1 has 0 args |
| 76 | Opcode 2 has 1 args |
| 77 | Opcode 3 has 1 args |
| 78 | Opcode 4 has 1 args |
| 79 | Opcode 5 has 1 args |
| 80 | Opcode 6 has 0 args |
| 81 | Opcode 7 has 0 args |
| 82 | Opcode 8 has 0 args |
| 83 | Opcode 9 has 1 args |
| 84 | Opcode 10 has 0 args |
| 85 | Opcode 11 has 0 args |
| 86 | Opcode 12 has 1 args |
| 87 | Opcode 13 has 0 args |
| 88 | Opcode 14 has 0 args |
| 89 | Opcode 15 has 0 args |
| 90 | |
| 91 | The Directory Table is empty. |
| 92 | |
| 93 | The File Name Table \(offset 0x.*\): |
| 94 | Entry Dir Time Size Name |
| 95 | 1 0 0 0 file1.txt |
| 96 | |
| 97 | Line Number Statements: |
| 98 | \[0x.*\] Extended opcode 2: set Address to 0x0 |
| 99 | \[0x.*\] Advance Line by 3 to 4 |
| 100 | \[0x.*\] Copy |
| 101 | \[0x.*\] Copy \(view 1\) |
| 102 | \[0x.*\] Extended opcode 2: set Address to 0x4 |
| 103 | \[0x.*\] Extended opcode 1: End of Sequence |
| 104 | |
| 105 | |