4 # int main(int argc, char** argv) {
13 # clang++ -gmlt tiny.cc -S -o tiny.s
17 .globl _Z1av # -- Begin function _Z1av
23 .loc 1 1 0 # tiny.cc:1:0
27 .cfi_def_cfa_offset 16
30 .cfi_def_cfa_register %rbp
32 .loc 1 1 11 prologue_end # tiny.cc:1:11
37 .size _Z1av, .Lfunc_end0-_Z1av
40 .globl _Z1bv # -- Begin function _Z1bv
45 .loc 1 2 0 # tiny.cc:2:0
49 .cfi_def_cfa_offset 16
52 .cfi_def_cfa_register %rbp
54 .loc 1 2 11 prologue_end # tiny.cc:2:11
59 .size _Z1bv, .Lfunc_end1-_Z1bv
62 .globl main # -- Begin function main
67 .loc 1 4 0 # tiny.cc:4:0
71 .cfi_def_cfa_offset 16
74 .cfi_def_cfa_register %rbp
80 .loc 1 6 12 prologue_end # tiny.cc:6:12
82 .loc 1 6 7 is_stmt 0 # tiny.cc:6:7
85 .loc 1 0 7 # tiny.cc:0:7
87 .loc 1 7 9 is_stmt 1 # tiny.cc:7:9
89 .loc 1 7 5 is_stmt 0 # tiny.cc:7:5
92 .loc 1 0 5 # tiny.cc:0:5
94 .loc 1 9 9 is_stmt 1 # tiny.cc:9:9
97 .loc 1 11 3 # tiny.cc:11:3
99 .loc 1 12 1 # tiny.cc:12:1
106 .size main, .Lfunc_end2-main
109 .section .debug_str,"MS",@progbits,1
111 .asciz "clang version 6.0.0 (trunk 316774)" # string offset=0
113 .asciz "tiny.cc" # string offset=35
115 .asciz "/tmp/a/b" # string offset=43
116 .section .debug_abbrev,"",@progbits
117 .byte 1 # Abbreviation Code
118 .byte 17 # DW_TAG_compile_unit
119 .byte 0 # DW_CHILDREN_no
120 .byte 37 # DW_AT_producer
121 .byte 14 # DW_FORM_strp
122 .byte 19 # DW_AT_language
123 .byte 5 # DW_FORM_data2
125 .byte 14 # DW_FORM_strp
126 .byte 16 # DW_AT_stmt_list
127 .byte 23 # DW_FORM_sec_offset
128 .byte 27 # DW_AT_comp_dir
129 .byte 14 # DW_FORM_strp
130 .byte 17 # DW_AT_low_pc
131 .byte 1 # DW_FORM_addr
132 .byte 18 # DW_AT_high_pc
133 .byte 6 # DW_FORM_data4
137 .section .debug_info,"",@progbits
139 .long 38 # Length of Unit
140 .short 4 # DWARF version number
141 .long .debug_abbrev # Offset Into Abbrev. Section
142 .byte 8 # Address Size (in bytes)
143 .byte 1 # Abbrev [1] 0xb:0x1f DW_TAG_compile_unit
144 .long .Linfo_string0 # DW_AT_producer
145 .short 4 # DW_AT_language
146 .long .Linfo_string1 # DW_AT_name
147 .long .Lline_table_start0 # DW_AT_stmt_list
148 .long .Linfo_string2 # DW_AT_comp_dir
149 .quad .Lfunc_begin0 # DW_AT_low_pc
150 .long .Lfunc_end2-.Lfunc_begin0 # DW_AT_high_pc
151 .section .debug_ranges,"",@progbits
152 .section .debug_macinfo,"",@progbits
154 .byte 0 # End Of Macro List Mark
156 .ident "clang version 6.0.0 (trunk 316774)"
157 .section ".note.GNU-stack","",@progbits
158 .section .debug_line,"",@progbits