| 1 | #source: dw2-compress-3.s |
| 2 | #as: --compress-debug-sections --elf-stt-common=yes |
| 3 | #readelf: -w |
| 4 | #name: DWARF2 debugging information 3 with STT_COMMON |
| 5 | |
| 6 | Contents of the .debug_info section: |
| 7 | |
| 8 | Compilation Unit @ offset 0x0: |
| 9 | Length: 0x32 \(32-bit\) |
| 10 | Version: 4 |
| 11 | Abbrev Offset: 0x0 |
| 12 | Pointer Size: 4 |
| 13 | <0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\) |
| 14 | <c> DW_AT_producer : \(indirect string, offset: 0x2\): GNU C 4.8.3 |
| 15 | <10> DW_AT_language : 1 \(ANSI C\) |
| 16 | <11> DW_AT_name : \(indirect string, offset: 0xe\): dw2-compress-3.c |
| 17 | <15> DW_AT_comp_dir : \(indirect string, offset: 0x0\): . |
| 18 | <19> DW_AT_stmt_list : 0x0 |
| 19 | <1><1d>: Abbrev Number: 2 \(DW_TAG_variable\) |
| 20 | <1e> DW_AT_name : foo |
| 21 | <22> DW_AT_decl_file : 1 |
| 22 | <23> DW_AT_decl_line : 1 |
| 23 | <24> DW_AT_type : <0x2e> |
| 24 | <28> DW_AT_external : 1 |
| 25 | <28> DW_AT_location : 5 byte block: 3 4 0 0 0 \(DW_OP_addr: 4\) |
| 26 | <1><2e>: Abbrev Number: 3 \(DW_TAG_base_type\) |
| 27 | <2f> DW_AT_byte_size : 4 |
| 28 | <30> DW_AT_encoding : 5 \(signed\) |
| 29 | <31> DW_AT_name : int |
| 30 | <1><35>: Abbrev Number: 0 |
| 31 | |
| 32 | Contents of the .debug_abbrev section: |
| 33 | |
| 34 | Number TAG \(0x0\) |
| 35 | 1 DW_TAG_compile_unit \[has children\] |
| 36 | DW_AT_producer DW_FORM_strp |
| 37 | DW_AT_language DW_FORM_data1 |
| 38 | DW_AT_name DW_FORM_strp |
| 39 | DW_AT_comp_dir DW_FORM_strp |
| 40 | DW_AT_stmt_list DW_FORM_sec_offset |
| 41 | DW_AT value: 0 DW_FORM value: 0 |
| 42 | 2 DW_TAG_variable \[no children\] |
| 43 | DW_AT_name DW_FORM_string |
| 44 | DW_AT_decl_file DW_FORM_data1 |
| 45 | DW_AT_decl_line DW_FORM_data1 |
| 46 | DW_AT_type DW_FORM_ref4 |
| 47 | DW_AT_external DW_FORM_flag_present |
| 48 | DW_AT_location DW_FORM_exprloc |
| 49 | DW_AT value: 0 DW_FORM value: 0 |
| 50 | 3 DW_TAG_base_type \[no children\] |
| 51 | DW_AT_byte_size DW_FORM_data1 |
| 52 | DW_AT_encoding DW_FORM_data1 |
| 53 | DW_AT_name DW_FORM_string |
| 54 | DW_AT value: 0 DW_FORM value: 0 |
| 55 | |
| 56 | Contents of the .debug_aranges section: |
| 57 | |
| 58 | Length: 20 |
| 59 | Version: 2 |
| 60 | Offset into .debug_info: 0x0 |
| 61 | Pointer Size: 4 |
| 62 | Segment Size: 0 |
| 63 | |
| 64 | Address Length |
| 65 | 00000000 00000000 |
| 66 | |
| 67 | Raw dump of debug contents of section .debug_line: |
| 68 | |
| 69 | Offset: 0x0 |
| 70 | Length: 45 |
| 71 | DWARF Version: 2 |
| 72 | Prologue Length: 39 |
| 73 | Minimum Instruction Length: 1 |
| 74 | Initial value of 'is_stmt': 1 |
| 75 | Line Base: -5 |
| 76 | Line Range: 14 |
| 77 | Opcode Base: 13 |
| 78 | |
| 79 | Opcodes: |
| 80 | Opcode 1 has 0 args |
| 81 | Opcode 2 has 1 arg |
| 82 | Opcode 3 has 1 arg |
| 83 | Opcode 4 has 1 arg |
| 84 | Opcode 5 has 1 arg |
| 85 | Opcode 6 has 0 args |
| 86 | Opcode 7 has 0 args |
| 87 | Opcode 8 has 0 args |
| 88 | Opcode 9 has 1 arg |
| 89 | Opcode 10 has 0 args |
| 90 | Opcode 11 has 0 args |
| 91 | Opcode 12 has 1 arg |
| 92 | |
| 93 | The Directory Table is empty. |
| 94 | |
| 95 | The File Name Table \(offset 0x1c\): |
| 96 | Entry Dir Time Size Name |
| 97 | 1 0 0 0 dw2-compress-3.c |
| 98 | |
| 99 | No Line Number Statements. |
| 100 | Contents of the .debug_str section: |
| 101 | |
| 102 | 0x00000000 2e00474e 55204320 342e382e 33006477 ..GNU C 4.8.3.dw |
| 103 | 0x00000010 322d636f 6d707265 73732d33 2e6300 2-compress-3.c. |
| 104 | |