1# struct BMono { 2# int x; 3# }; 4# 5# BMono globalMono1; 6# clang++ -g2 -gdwarf-5 -gpubnames -S -fdebug-types-section -o 7 8 9 .text 10 .file "helper1.cpp" 11 .file 0 "/home" "helper1.cpp" md5 0x1fdaf911330b73495aed962bc02cfb3a 12 .section .debug_info,"G",@progbits,5884764266900841573,comdat 13.Ltu_begin0: 14 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit 15.Ldebug_info_start0: 16 .short 5 # DWARF version number 17 .byte 2 # DWARF Unit Type 18 .byte 8 # Address Size (in bytes) 19 .long .debug_abbrev # Offset Into Abbrev. Section 20 .quad 5884764266900841573 # Type Signature 21 .long 35 # Type DIE Offset 22 .byte 1 # Abbrev [1] 0x18:0x20 DW_TAG_type_unit 23 .short 33 # DW_AT_language 24 .long .Lline_table_start0 # DW_AT_stmt_list 25 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base 26 .byte 2 # Abbrev [2] 0x23:0x10 DW_TAG_structure_type 27 .byte 5 # DW_AT_calling_convention 28 .byte 6 # DW_AT_name 29 .byte 4 # DW_AT_byte_size 30 .byte 0 # DW_AT_decl_file 31 .byte 1 # DW_AT_decl_line 32 .byte 3 # Abbrev [3] 0x29:0x9 DW_TAG_member 33 .byte 4 # DW_AT_name 34 .long 51 # DW_AT_type 35 .byte 0 # DW_AT_decl_file 36 .byte 2 # DW_AT_decl_line 37 .byte 0 # DW_AT_data_member_location 38 .byte 0 # End Of Children Mark 39 .byte 4 # Abbrev [4] 0x33:0x4 DW_TAG_base_type 40 .byte 5 # DW_AT_name 41 .byte 5 # DW_AT_encoding 42 .byte 4 # DW_AT_byte_size 43 .byte 0 # End Of Children Mark 44.Ldebug_info_end0: 45 .type globalMono1,@object # @globalMono1 46 .bss 47 .globl globalMono1 48 .p2align 2, 0x0 49globalMono1: 50 .zero 4 51 .size globalMono1, 4 52 53 .section .debug_abbrev,"",@progbits 54 .byte 1 # Abbreviation Code 55 .byte 65 # DW_TAG_type_unit 56 .byte 1 # DW_CHILDREN_yes 57 .byte 19 # DW_AT_language 58 .byte 5 # DW_FORM_data2 59 .byte 16 # DW_AT_stmt_list 60 .byte 23 # DW_FORM_sec_offset 61 .byte 114 # DW_AT_str_offsets_base 62 .byte 23 # DW_FORM_sec_offset 63 .byte 0 # EOM(1) 64 .byte 0 # EOM(2) 65 .byte 2 # Abbreviation Code 66 .byte 19 # DW_TAG_structure_type 67 .byte 1 # DW_CHILDREN_yes 68 .byte 54 # DW_AT_calling_convention 69 .byte 11 # DW_FORM_data1 70 .byte 3 # DW_AT_name 71 .byte 37 # DW_FORM_strx1 72 .byte 11 # DW_AT_byte_size 73 .byte 11 # DW_FORM_data1 74 .byte 58 # DW_AT_decl_file 75 .byte 11 # DW_FORM_data1 76 .byte 59 # DW_AT_decl_line 77 .byte 11 # DW_FORM_data1 78 .byte 0 # EOM(1) 79 .byte 0 # EOM(2) 80 .byte 3 # Abbreviation Code 81 .byte 13 # DW_TAG_member 82 .byte 0 # DW_CHILDREN_no 83 .byte 3 # DW_AT_name 84 .byte 37 # DW_FORM_strx1 85 .byte 73 # DW_AT_type 86 .byte 19 # DW_FORM_ref4 87 .byte 58 # DW_AT_decl_file 88 .byte 11 # DW_FORM_data1 89 .byte 59 # DW_AT_decl_line 90 .byte 11 # DW_FORM_data1 91 .byte 56 # DW_AT_data_member_location 92 .byte 11 # DW_FORM_data1 93 .byte 0 # EOM(1) 94 .byte 0 # EOM(2) 95 .byte 4 # Abbreviation Code 96 .byte 36 # DW_TAG_base_type 97 .byte 0 # DW_CHILDREN_no 98 .byte 3 # DW_AT_name 99 .byte 37 # DW_FORM_strx1 100 .byte 62 # DW_AT_encoding 101 .byte 11 # DW_FORM_data1 102 .byte 11 # DW_AT_byte_size 103 .byte 11 # DW_FORM_data1 104 .byte 0 # EOM(1) 105 .byte 0 # EOM(2) 106 .byte 5 # Abbreviation Code 107 .byte 17 # DW_TAG_compile_unit 108 .byte 1 # DW_CHILDREN_yes 109 .byte 37 # DW_AT_producer 110 .byte 37 # DW_FORM_strx1 111 .byte 19 # DW_AT_language 112 .byte 5 # DW_FORM_data2 113 .byte 3 # DW_AT_name 114 .byte 37 # DW_FORM_strx1 115 .byte 114 # DW_AT_str_offsets_base 116 .byte 23 # DW_FORM_sec_offset 117 .byte 16 # DW_AT_stmt_list 118 .byte 23 # DW_FORM_sec_offset 119 .byte 27 # DW_AT_comp_dir 120 .byte 37 # DW_FORM_strx1 121 .byte 115 # DW_AT_addr_base 122 .byte 23 # DW_FORM_sec_offset 123 .byte 0 # EOM(1) 124 .byte 0 # EOM(2) 125 .byte 6 # Abbreviation Code 126 .byte 52 # DW_TAG_variable 127 .byte 0 # DW_CHILDREN_no 128 .byte 3 # DW_AT_name 129 .byte 37 # DW_FORM_strx1 130 .byte 73 # DW_AT_type 131 .byte 19 # DW_FORM_ref4 132 .byte 63 # DW_AT_external 133 .byte 25 # DW_FORM_flag_present 134 .byte 58 # DW_AT_decl_file 135 .byte 11 # DW_FORM_data1 136 .byte 59 # DW_AT_decl_line 137 .byte 11 # DW_FORM_data1 138 .byte 2 # DW_AT_location 139 .byte 24 # DW_FORM_exprloc 140 .byte 0 # EOM(1) 141 .byte 0 # EOM(2) 142 .byte 7 # Abbreviation Code 143 .byte 19 # DW_TAG_structure_type 144 .byte 0 # DW_CHILDREN_no 145 .byte 60 # DW_AT_declaration 146 .byte 25 # DW_FORM_flag_present 147 .byte 105 # DW_AT_signature 148 .byte 32 # DW_FORM_ref_sig8 149 .byte 0 # EOM(1) 150 .byte 0 # EOM(2) 151 .byte 0 # EOM(3) 152 .section .debug_info,"",@progbits 153.Lcu_begin0: 154 .long .Ldebug_info_end1-.Ldebug_info_start1 # Length of Unit 155.Ldebug_info_start1: 156 .short 5 # DWARF version number 157 .byte 1 # DWARF Unit Type 158 .byte 8 # Address Size (in bytes) 159 .long .debug_abbrev # Offset Into Abbrev. Section 160 .byte 5 # Abbrev [5] 0xc:0x27 DW_TAG_compile_unit 161 .byte 0 # DW_AT_producer 162 .short 33 # DW_AT_language 163 .byte 1 # DW_AT_name 164 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base 165 .long .Lline_table_start0 # DW_AT_stmt_list 166 .byte 2 # DW_AT_comp_dir 167 .long .Laddr_table_base0 # DW_AT_addr_base 168 .byte 6 # Abbrev [6] 0x1e:0xb DW_TAG_variable 169 .byte 3 # DW_AT_name 170 .long 41 # DW_AT_type 171 # DW_AT_external 172 .byte 0 # DW_AT_decl_file 173 .byte 5 # DW_AT_decl_line 174 .byte 2 # DW_AT_location 175 .byte 161 176 .byte 0 177 .byte 7 # Abbrev [7] 0x29:0x9 DW_TAG_structure_type 178 # DW_AT_declaration 179 .quad 5884764266900841573 # DW_AT_signature 180 .byte 0 # End Of Children Mark 181.Ldebug_info_end1: 182 .section .debug_str_offsets,"",@progbits 183 .long 32 # Length of String Offsets Set 184 .short 5 185 .short 0 186.Lstr_offsets_base0: 187 .section .debug_str,"MS",@progbits,1 188.Linfo_string0: 189 .asciz "clang version 19.0.0git (git@github.com:llvm/llvm-project.git ced1fac8a32e35b63733bda27c7f5b9a2b635403)" # string offset=0 190.Linfo_string1: 191 .asciz "helper1.cpp" # string offset=104 192.Linfo_string2: 193 .asciz "/home" # string offset=116 194.Linfo_string3: 195 .asciz "globalMono1" # string offset=154 196.Linfo_string4: 197 .asciz "BMono" # string offset=166 198.Linfo_string5: 199 .asciz "x" # string offset=172 200.Linfo_string6: 201 .asciz "int" # string offset=174 202 .section .debug_str_offsets,"",@progbits 203 .long .Linfo_string0 204 .long .Linfo_string1 205 .long .Linfo_string2 206 .long .Linfo_string3 207 .long .Linfo_string5 208 .long .Linfo_string6 209 .long .Linfo_string4 210 .section .debug_addr,"",@progbits 211 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution 212.Ldebug_addr_start0: 213 .short 5 # DWARF version number 214 .byte 8 # Address size 215 .byte 0 # Segment selector size 216.Laddr_table_base0: 217 .quad globalMono1 218.Ldebug_addr_end0: 219 .section .debug_names,"",@progbits 220 .long .Lnames_end0-.Lnames_start0 # Header: unit length 221.Lnames_start0: 222 .short 5 # Header: version 223 .short 0 # Header: padding 224 .long 1 # Header: compilation unit count 225 .long 1 # Header: local type unit count 226 .long 0 # Header: foreign type unit count 227 .long 3 # Header: bucket count 228 .long 3 # Header: name count 229 .long .Lnames_abbrev_end0-.Lnames_abbrev_start0 # Header: abbreviation table size 230 .long 8 # Header: augmentation string size 231 .ascii "LLVM0700" # Header: augmentation string 232 .long .Lcu_begin0 # Compilation unit 0 233 .long .Ltu_begin0 # Type unit 0 234 .long 0 # Bucket 0 235 .long 0 # Bucket 1 236 .long 1 # Bucket 2 237 .long 193495088 # Hash in Bucket 2 238 .long 254414240 # Hash in Bucket 2 239 .long 1778763008 # Hash in Bucket 2 240 .long .Linfo_string6 # String in Bucket 2: int 241 .long .Linfo_string4 # String in Bucket 2: BMono 242 .long .Linfo_string3 # String in Bucket 2: globalMono1 243 .long .Lnames1-.Lnames_entries0 # Offset in Bucket 2 244 .long .Lnames0-.Lnames_entries0 # Offset in Bucket 2 245 .long .Lnames2-.Lnames_entries0 # Offset in Bucket 2 246.Lnames_abbrev_start0: 247 .byte 1 # Abbrev code 248 .byte 36 # DW_TAG_base_type 249 .byte 2 # DW_IDX_type_unit 250 .byte 11 # DW_FORM_data1 251 .byte 3 # DW_IDX_die_offset 252 .byte 19 # DW_FORM_ref4 253 .byte 4 # DW_IDX_parent 254 .byte 25 # DW_FORM_flag_present 255 .byte 0 # End of abbrev 256 .byte 0 # End of abbrev 257 .byte 2 # Abbrev code 258 .byte 19 # DW_TAG_structure_type 259 .byte 2 # DW_IDX_type_unit 260 .byte 11 # DW_FORM_data1 261 .byte 3 # DW_IDX_die_offset 262 .byte 19 # DW_FORM_ref4 263 .byte 4 # DW_IDX_parent 264 .byte 25 # DW_FORM_flag_present 265 .byte 0 # End of abbrev 266 .byte 0 # End of abbrev 267 .byte 3 # Abbrev code 268 .byte 19 # DW_TAG_structure_type 269 .byte 3 # DW_IDX_die_offset 270 .byte 19 # DW_FORM_ref4 271 .byte 4 # DW_IDX_parent 272 .byte 25 # DW_FORM_flag_present 273 .byte 0 # End of abbrev 274 .byte 0 # End of abbrev 275 .byte 4 # Abbrev code 276 .byte 52 # DW_TAG_variable 277 .byte 3 # DW_IDX_die_offset 278 .byte 19 # DW_FORM_ref4 279 .byte 4 # DW_IDX_parent 280 .byte 25 # DW_FORM_flag_present 281 .byte 0 # End of abbrev 282 .byte 0 # End of abbrev 283 .byte 0 # End of abbrev list 284.Lnames_abbrev_end0: 285.Lnames_entries0: 286.Lnames1: 287.L1: 288 .byte 1 # Abbreviation code 289 .byte 0 # DW_IDX_type_unit 290 .long 51 # DW_IDX_die_offset 291 .byte 0 # DW_IDX_parent 292 # End of list: int 293.Lnames0: 294.L2: 295 .byte 2 # Abbreviation code 296 .byte 0 # DW_IDX_type_unit 297 .long 35 # DW_IDX_die_offset 298.L3: # DW_IDX_parent 299 .byte 3 # Abbreviation code 300 .long 41 # DW_IDX_die_offset 301 .byte 0 # DW_IDX_parent 302 # End of list: BMono 303.Lnames2: 304.L0: 305 .byte 4 # Abbreviation code 306 .long 30 # DW_IDX_die_offset 307 .byte 0 # DW_IDX_parent 308 # End of list: globalMono1 309 .p2align 2, 0x0 310.Lnames_end0: 311 .ident "clang version 19.0.0git (git@github.com:llvm/llvm-project.git ced1fac8a32e35b63733bda27c7f5b9a2b635403)" 312 .section ".note.GNU-stack","",@progbits 313 .addrsig 314 .section .debug_line,"",@progbits 315.Lline_table_start0: 316