| 1 |
## Test that reconstructs a dSYM file from YAML and generates a callsite-enabled gsym from it - and then verifies the gsym. |
| 2 |
## See llvm/test/tools/llvm-gsymutil/ARM_AArch64/macho-gsym-callsite-info.test for the script to generate this yaml file |
| 3 |
|
| 4 |
# RUN: split-file %s %t |
| 5 |
# RUN: yaml2obj %t/call_sites.dSYM.yaml -o %t/call_sites.dSYM |
| 6 |
|
| 7 |
# RUN: llvm-gsymutil --num-threads=1 --convert=%t/call_sites.dSYM --callsites-yaml-file=%t/callsites.yaml -o %t/call_sites_dSYM.gsym |
| 8 |
|
| 9 |
# Dump the GSYM file and check the output for callsite information |
| 10 |
# RUN: llvm-gsymutil %t/call_sites_dSYM.gsym | FileCheck --check-prefix=CHECK-GSYM %s |
| 11 |
|
| 12 |
|
| 13 |
# CHECK-GSYM: FunctionInfo @ 0x[[#%x,FUNC_INFO:]]: [0x[[#%x,FUNC_START:]] - 0x[[#%x,FUNC_END:]]) "func_mainBin_dec_call_everything" |
| 14 |
# CHECK-GSYM-NEXT: LineTable: |
| 15 |
# // func_mainBin_dec_call_everything() { |
| 16 |
# CHECK-GSYM-NEXT: 0x[[#%x,ENTRY:]] {{.*}}/call_sites.cpp:16 |
| 17 |
# // func_mainBin_dec_01(); |
| 18 |
# CHECK-GSYM-NEXT: 0x[[#%x,ADDR_DEC_01_CALL:]] {{.*}}/call_sites.cpp:17 |
| 19 |
# // func_mainBin_dec_02(); |
| 20 |
# CHECK-GSYM-NEXT: 0x[[#%x,ADDR_DEC_02_CALL:]] {{.*}}/call_sites.cpp:18 |
| 21 |
# // func_mainBin_dec_03(); |
| 22 |
# CHECK-GSYM-NEXT: 0x[[#%x,ADDR_DEC_03_CALL:]] {{.*}}/call_sites.cpp:19 |
| 23 |
# // func_mainBin_inc_01(); |
| 24 |
# CHECK-GSYM-NEXT: 0x[[#%x,ADDR_INC_01_CALL:]] {{.*}}/call_sites.cpp:21 |
| 25 |
# // func_mainBin_inc_02(); |
| 26 |
# CHECK-GSYM-NEXT: 0x[[#%x,ADDR_INC_02_CALL:]] {{.*}}/call_sites.cpp:22 |
| 27 |
# // func_mainBin_inc_03(); |
| 28 |
# CHECK-GSYM-NEXT: 0x[[#%x,ADDR_INC_03_CALL:]] {{.*}}/call_sites.cpp:23 |
| 29 |
# // g_func_ptr(); |
| 30 |
# CHECK-GSYM-NEXT: 0x[[#%x,ADDR_FUNC_CALL:]] {{.*}}/call_sites.cpp:25 |
| 31 |
# // g_extern_func_ptr(); |
| 32 |
# CHECK-GSYM-NEXT: 0x[[#%x,ADDR_EXTERN_FUNC_CALL:]] {{.*}}/call_sites.cpp:26 |
| 33 |
# // g_volatile_var = 0; |
| 34 |
# CHECK-GSYM-NEXT: 0x[[#%x,ADDR_VAR_ASSIGN:]] {{.*}}/call_sites.cpp:28 |
| 35 |
# // } |
| 36 |
# CHECK-GSYM-NEXT: 0x[[#%x,]] {{.*}}/call_sites.cpp:29 |
| 37 |
# CHECK-GSYM-NEXT: CallSites (by relative return offset): |
| 38 |
# CHECK-GSYM-NEXT: 0x[[#%.4x,sub(ADDR_DEC_02_CALL,FUNC_START)]] Flags[InternalCall] MatchRegex[func_mainBin_dec_01] |
| 39 |
# CHECK-GSYM-NEXT: 0x[[#%.4x,sub(ADDR_DEC_03_CALL,FUNC_START)]] Flags[InternalCall] MatchRegex[func_mainBin_dec_02] |
| 40 |
# CHECK-GSYM-NEXT: 0x[[#%.4x,sub(ADDR_INC_01_CALL,FUNC_START)]] Flags[InternalCall] MatchRegex[func_mainBin_dec_03] |
| 41 |
# CHECK-GSYM-NEXT: 0x[[#%.4x,sub(ADDR_INC_02_CALL,FUNC_START)]] Flags[InternalCall] MatchRegex[func_mainBin_inc_01] |
| 42 |
# CHECK-GSYM-NEXT: 0x[[#%.4x,sub(ADDR_INC_03_CALL,FUNC_START)]] Flags[InternalCall] MatchRegex[func_mainBin_inc_02] |
| 43 |
# CHECK-GSYM-NEXT: 0x[[#%.4x,sub(ADDR_FUNC_CALL,FUNC_START)]] Flags[InternalCall] MatchRegex[func_mainBin_inc_03] |
| 44 |
# CHECK-GSYM-NEXT: 0x[[#%.4x,sub(ADDR_EXTERN_FUNC_CALL,FUNC_START)]] Flags[None] MatchRegex[.*func.*] |
| 45 |
# CHECK-GSYM-NEXT: 0x[[#%.4x,sub(ADDR_VAR_ASSIGN,FUNC_START)]] Flags[ExternalCall] MatchRegex[.*extern_func.*] |
| 46 |
|
| 47 |
|
| 48 |
#--- callsites.yaml |
| 49 |
functions: |
| 50 |
- name: func_mainBin_dec_call_everything |
| 51 |
callsites: |
| 52 |
- return_offset: 0x0C |
| 53 |
match_regex: ["func_mainBin_dec_01"] |
| 54 |
flags: |
| 55 |
- "InternalCall" |
| 56 |
- return_offset: 0x10 |
| 57 |
match_regex: ["func_mainBin_dec_02"] |
| 58 |
flags: |
| 59 |
- "InternalCall" |
| 60 |
- return_offset: 0x14 |
| 61 |
match_regex: ["func_mainBin_dec_03"] |
| 62 |
flags: |
| 63 |
- "InternalCall" |
| 64 |
- return_offset: 24 |
| 65 |
match_regex: ["func_mainBin_inc_01"] |
| 66 |
flags: |
| 67 |
- "InternalCall" |
| 68 |
- return_offset: 28 |
| 69 |
match_regex: ["func_mainBin_inc_02"] |
| 70 |
flags: |
| 71 |
- "InternalCall" |
| 72 |
- return_offset: 32 |
| 73 |
match_regex: ["func_mainBin_inc_03"] |
| 74 |
flags: |
| 75 |
- "InternalCall" |
| 76 |
- return_offset: 44 |
| 77 |
match_regex: [".*func.*"] |
| 78 |
- return_offset: 56 |
| 79 |
match_regex: [".*extern_func.*"] |
| 80 |
flags: |
| 81 |
- "ExternalCall" |
| 82 |
|
| 83 |
|
| 84 |
#--- call_sites.dSYM.yaml |
| 85 |
--- !mach-o |
| 86 |
FileHeader: |
| 87 |
magic: 0xFEEDFACF |
| 88 |
cputype: 0x100000C |
| 89 |
cpusubtype: 0x0 |
| 90 |
filetype: 0xA |
| 91 |
ncmds: 8 |
| 92 |
sizeofcmds: 1392 |
| 93 |
flags: 0x0 |
| 94 |
reserved: 0x0 |
| 95 |
LoadCommands: |
| 96 |
- cmd: LC_UUID |
| 97 |
cmdsize: 24 |
| 98 |
uuid: 4C4C44E9-5555-3144-A1D3-328233D00078 |
| 99 |
- cmd: LC_BUILD_VERSION |
| 100 |
cmdsize: 24 |
| 101 |
platform: 1 |
| 102 |
minos: 720896 |
| 103 |
sdk: 720896 |
| 104 |
ntools: 0 |
| 105 |
- cmd: LC_SYMTAB |
| 106 |
cmdsize: 24 |
| 107 |
symoff: 4096 |
| 108 |
nsyms: 12 |
| 109 |
stroff: 4288 |
| 110 |
strsize: 235 |
| 111 |
- cmd: LC_SEGMENT_64 |
| 112 |
cmdsize: 72 |
| 113 |
segname: __PAGEZERO |
| 114 |
vmaddr: 0 |
| 115 |
vmsize: 4294967296 |
| 116 |
fileoff: 0 |
| 117 |
filesize: 0 |
| 118 |
maxprot: 0 |
| 119 |
initprot: 0 |
| 120 |
nsects: 0 |
| 121 |
flags: 0 |
| 122 |
- cmd: LC_SEGMENT_64 |
| 123 |
cmdsize: 152 |
| 124 |
segname: __TEXT |
| 125 |
vmaddr: 4294967296 |
| 126 |
vmsize: 16384 |
| 127 |
fileoff: 0 |
| 128 |
filesize: 0 |
| 129 |
maxprot: 5 |
| 130 |
initprot: 5 |
| 131 |
nsects: 1 |
| 132 |
flags: 0 |
| 133 |
Sections: |
| 134 |
- sectname: __text |
| 135 |
segname: __TEXT |
| 136 |
addr: 0x100000338 |
| 137 |
size: 216 |
| 138 |
offset: 0x0 |
| 139 |
align: 2 |
| 140 |
reloff: 0x0 |
| 141 |
nreloc: 0 |
| 142 |
flags: 0x80000400 |
| 143 |
reserved1: 0x0 |
| 144 |
reserved2: 0x0 |
| 145 |
reserved3: 0x0 |
| 146 |
content: CFFAEDFE0C000001000000000A000000080000007005000000000000000000001B000000180000004C4C44E955553144A1D3328233D0007832000000180000000100000000000B0000000B00000000000200000018000000001000000C000000C0100000EB00000019000000480000005F5F504147455A45524F00000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000019000000980000005F5F544558540000000000000000000000000000010000000040000000000000 |
| 147 |
- cmd: LC_SEGMENT_64 |
| 148 |
cmdsize: 152 |
| 149 |
segname: __DATA |
| 150 |
vmaddr: 4294983680 |
| 151 |
vmsize: 16384 |
| 152 |
fileoff: 0 |
| 153 |
filesize: 0 |
| 154 |
maxprot: 3 |
| 155 |
initprot: 3 |
| 156 |
nsects: 1 |
| 157 |
flags: 0 |
| 158 |
Sections: |
| 159 |
- sectname: __common |
| 160 |
segname: __DATA |
| 161 |
addr: 0x100004000 |
| 162 |
size: 24 |
| 163 |
offset: 0x0 |
| 164 |
align: 3 |
| 165 |
reloff: 0x0 |
| 166 |
nreloc: 0 |
| 167 |
flags: 0x1 |
| 168 |
reserved1: 0x0 |
| 169 |
reserved2: 0x0 |
| 170 |
reserved3: 0x0 |
| 171 |
- cmd: LC_SEGMENT_64 |
| 172 |
cmdsize: 72 |
| 173 |
segname: __LINKEDIT |
| 174 |
vmaddr: 4295000064 |
| 175 |
vmsize: 4096 |
| 176 |
fileoff: 4096 |
| 177 |
filesize: 427 |
| 178 |
maxprot: 1 |
| 179 |
initprot: 1 |
| 180 |
nsects: 0 |
| 181 |
flags: 0 |
| 182 |
- cmd: LC_SEGMENT_64 |
| 183 |
cmdsize: 872 |
| 184 |
segname: __DWARF |
| 185 |
vmaddr: 4295004160 |
| 186 |
vmsize: 4096 |
| 187 |
fileoff: 8192 |
| 188 |
filesize: 1894 |
| 189 |
maxprot: 7 |
| 190 |
initprot: 3 |
| 191 |
nsects: 10 |
| 192 |
flags: 0 |
| 193 |
Sections: |
| 194 |
- sectname: __debug_line |
| 195 |
segname: __DWARF |
| 196 |
addr: 0x100009000 |
| 197 |
size: 150 |
| 198 |
offset: 0x2000 |
| 199 |
align: 0 |
| 200 |
reloff: 0x0 |
| 201 |
nreloc: 0 |
| 202 |
flags: 0x0 |
| 203 |
reserved1: 0x0 |
| 204 |
reserved2: 0x0 |
| 205 |
reserved3: 0x0 |
| 206 |
- sectname: __debug_aranges |
| 207 |
segname: __DWARF |
| 208 |
addr: 0x100009096 |
| 209 |
size: 48 |
| 210 |
offset: 0x2096 |
| 211 |
align: 0 |
| 212 |
reloff: 0x0 |
| 213 |
nreloc: 0 |
| 214 |
flags: 0x0 |
| 215 |
reserved1: 0x0 |
| 216 |
reserved2: 0x0 |
| 217 |
reserved3: 0x0 |
| 218 |
- sectname: __debug_info |
| 219 |
segname: __DWARF |
| 220 |
addr: 0x1000090C6 |
| 221 |
size: 424 |
| 222 |
offset: 0x20C6 |
| 223 |
align: 0 |
| 224 |
reloff: 0x0 |
| 225 |
nreloc: 0 |
| 226 |
flags: 0x0 |
| 227 |
reserved1: 0x0 |
| 228 |
reserved2: 0x0 |
| 229 |
reserved3: 0x0 |
| 230 |
- sectname: __debug_frame |
| 231 |
segname: __DWARF |
| 232 |
addr: 0x10000926E |
| 233 |
size: 232 |
| 234 |
offset: 0x226E |
| 235 |
align: 0 |
| 236 |
reloff: 0x0 |
| 237 |
nreloc: 0 |
| 238 |
flags: 0x0 |
| 239 |
reserved1: 0x0 |
| 240 |
reserved2: 0x0 |
| 241 |
reserved3: 0x0 |
| 242 |
content: 14000000FFFFFFFF0400080001781E0C1F0000000000000014000000000000003803000001000000140000000000000014000000000000004C03000001000000140000000000000014000000000000006003000001000000140000000000000014000000000000007403000001000000140000000000000014000000000000008803000001000000140000000000000014000000000000009C0300000100000014000000000000001C00000000000000B0030000010000004800000000000000480C1D109E019D021C00000000000000F8030000010000001800000000000000480C1D109E019D02 |
| 243 |
- sectname: __debug_abbrev |
| 244 |
segname: __DWARF |
| 245 |
addr: 0x100009356 |
| 246 |
size: 171 |
| 247 |
offset: 0x2356 |
| 248 |
align: 0 |
| 249 |
reloff: 0x0 |
| 250 |
nreloc: 0 |
| 251 |
flags: 0x0 |
| 252 |
reserved1: 0x0 |
| 253 |
reserved2: 0x0 |
| 254 |
reserved3: 0x0 |
| 255 |
- sectname: __debug_str |
| 256 |
segname: __DWARF |
| 257 |
addr: 0x100009401 |
| 258 |
size: 378 |
| 259 |
offset: 0x2401 |
| 260 |
align: 0 |
| 261 |
reloff: 0x0 |
| 262 |
nreloc: 0 |
| 263 |
flags: 0x0 |
| 264 |
reserved1: 0x0 |
| 265 |
reserved2: 0x0 |
| 266 |
reserved3: 0x0 |
| 267 |
- sectname: __apple_namespac |
| 268 |
segname: __DWARF |
| 269 |
addr: 0x10000957B |
| 270 |
size: 36 |
| 271 |
offset: 0x257B |
| 272 |
align: 0 |
| 273 |
reloff: 0x0 |
| 274 |
nreloc: 0 |
| 275 |
flags: 0x0 |
| 276 |
reserved1: 0x0 |
| 277 |
reserved2: 0x0 |
| 278 |
reserved3: 0x0 |
| 279 |
content: 485341480100000001000000000000000C000000000000000100000001000600FFFFFFFF |
| 280 |
- sectname: __apple_names |
| 281 |
segname: __DWARF |
| 282 |
addr: 0x10000959F |
| 283 |
size: 340 |
| 284 |
offset: 0x259F |
| 285 |
align: 0 |
| 286 |
reloff: 0x0 |
| 287 |
nreloc: 0 |
| 288 |
flags: 0x0 |
| 289 |
reserved1: 0x0 |
| 290 |
reserved2: 0x0 |
| 291 |
reserved3: 0x0 |
| 292 |
content: 48534148010000000B0000000B0000000C000000000000000100000001000600FFFFFFFF00000000FFFFFFFFFFFFFFFFFFFFFFFF01000000FFFFFFFF0300000004000000060000000900000073A83B36215E623FACBB81686A7F9A7C1939EE6AC7E03A771A39EE6AC8E03A773856D6801B39EE6AC9E03A77A4000000B4000000C4000000D4000000E4000000F40000000401000014010000240100003401000044010000AC000000010000002E00000000000000CA000000010000007300000000000000BF000000010000004F0000000000000075010000010000008001000000000000DC0000000100000088000000000000001801000001000000C700000000000000F0000000010000009D000000000000002C01000001000000DC00000000000000540100000100000006010000000000000401000001000000B2000000000000004001000001000000F100000000000000 |
| 293 |
- sectname: __apple_types |
| 294 |
segname: __DWARF |
| 295 |
addr: 0x1000096F3 |
| 296 |
size: 79 |
| 297 |
offset: 0x26F3 |
| 298 |
align: 0 |
| 299 |
reloff: 0x0 |
| 300 |
nreloc: 0 |
| 301 |
flags: 0x0 |
| 302 |
reserved1: 0x0 |
| 303 |
reserved2: 0x0 |
| 304 |
reserved3: 0x0 |
| 305 |
content: 48534148010000000100000001000000180000000000000004000000010006000300050005000B0006000600000000003080880B38000000BB0000000100000048000000240000A4283A0C00000000 |
| 306 |
- sectname: __apple_objc |
| 307 |
segname: __DWARF |
| 308 |
addr: 0x100009742 |
| 309 |
size: 36 |
| 310 |
offset: 0x2742 |
| 311 |
align: 0 |
| 312 |
reloff: 0x0 |
| 313 |
nreloc: 0 |
| 314 |
flags: 0x0 |
| 315 |
reserved1: 0x0 |
| 316 |
reserved2: 0x0 |
| 317 |
reserved3: 0x0 |
| 318 |
content: 485341480100000001000000000000000C000000000000000100000001000600FFFFFFFF |
| 319 |
LinkEditData: |
| 320 |
NameList: |
| 321 |
- n_strx: 2 |
| 322 |
n_type: 0xF |
| 323 |
n_sect: 1 |
| 324 |
n_desc: 0 |
| 325 |
n_value: 4294968312 |
| 326 |
- n_strx: 8 |
| 327 |
n_type: 0xF |
| 328 |
n_sect: 1 |
| 329 |
n_desc: 0 |
| 330 |
n_value: 4294968120 |
| 331 |
- n_strx: 29 |
| 332 |
n_type: 0xF |
| 333 |
n_sect: 1 |
| 334 |
n_desc: 0 |
| 335 |
n_value: 4294968140 |
| 336 |
- n_strx: 50 |
| 337 |
n_type: 0xF |
| 338 |
n_sect: 1 |
| 339 |
n_desc: 0 |
| 340 |
n_value: 4294968160 |
| 341 |
- n_strx: 71 |
| 342 |
n_type: 0xF |
| 343 |
n_sect: 1 |
| 344 |
n_desc: 0 |
| 345 |
n_value: 4294968180 |
| 346 |
- n_strx: 92 |
| 347 |
n_type: 0xF |
| 348 |
n_sect: 1 |
| 349 |
n_desc: 0 |
| 350 |
n_value: 4294968200 |
| 351 |
- n_strx: 113 |
| 352 |
n_type: 0xF |
| 353 |
n_sect: 1 |
| 354 |
n_desc: 0 |
| 355 |
n_value: 4294968220 |
| 356 |
- n_strx: 134 |
| 357 |
n_type: 0xF |
| 358 |
n_sect: 1 |
| 359 |
n_desc: 0 |
| 360 |
n_value: 4294968240 |
| 361 |
- n_strx: 168 |
| 362 |
n_type: 0xF |
| 363 |
n_sect: 2 |
| 364 |
n_desc: 0 |
| 365 |
n_value: 4294983680 |
| 366 |
- n_strx: 184 |
| 367 |
n_type: 0xF |
| 368 |
n_sect: 2 |
| 369 |
n_desc: 0 |
| 370 |
n_value: 4294983688 |
| 371 |
- n_strx: 196 |
| 372 |
n_type: 0xF |
| 373 |
n_sect: 2 |
| 374 |
n_desc: 0 |
| 375 |
n_value: 4294983696 |
| 376 |
- n_strx: 215 |
| 377 |
n_type: 0xF |
| 378 |
n_sect: 1 |
| 379 |
n_desc: 16 |
| 380 |
n_value: 4294967296 |
| 381 |
StringTable: |
| 382 |
- '' |
| 383 |
- '' |
| 384 |
- _main |
| 385 |
- _func_mainBin_dec_01 |
| 386 |
- _func_mainBin_dec_02 |
| 387 |
- _func_mainBin_dec_03 |
| 388 |
- _func_mainBin_inc_01 |
| 389 |
- _func_mainBin_inc_02 |
| 390 |
- _func_mainBin_inc_03 |
| 391 |
- _func_mainBin_dec_call_everything |
| 392 |
- _g_volatile_var |
| 393 |
- _g_func_ptr |
| 394 |
- _g_extern_func_ptr |
| 395 |
- __mh_execute_header |
| 396 |
DWARF: |
| 397 |
debug_str: |
| 398 |
- '' |
| 399 |
- 'clang version 20.0.0git (https://github.com/alx32/llvm-project.git f41f6ea1f33c4f5e7c94f3d155e44292d1809c50)' |
| 400 |
- call_sites.cpp |
| 401 |
- '/' |
| 402 |
- '/tmp/___________________________________/tst' |
| 403 |
- g_volatile_var |
| 404 |
- int |
| 405 |
- g_func_ptr |
| 406 |
- g_extern_func_ptr |
| 407 |
- func_mainBin_dec_01 |
| 408 |
- func_mainBin_dec_02 |
| 409 |
- func_mainBin_dec_03 |
| 410 |
- func_mainBin_inc_01 |
| 411 |
- func_mainBin_inc_02 |
| 412 |
- func_mainBin_inc_03 |
| 413 |
- func_mainBin_dec_call_everything |
| 414 |
- main |
| 415 |
debug_abbrev: |
| 416 |
- ID: 0 |
| 417 |
Table: |
| 418 |
- Code: 0x1 |
| 419 |
Tag: DW_TAG_compile_unit |
| 420 |
Children: DW_CHILDREN_yes |
| 421 |
Attributes: |
| 422 |
- Attribute: DW_AT_producer |
| 423 |
Form: DW_FORM_strp |
| 424 |
- Attribute: DW_AT_language |
| 425 |
Form: DW_FORM_data2 |
| 426 |
- Attribute: DW_AT_name |
| 427 |
Form: DW_FORM_strp |
| 428 |
- Attribute: DW_AT_LLVM_sysroot |
| 429 |
Form: DW_FORM_strp |
| 430 |
- Attribute: DW_AT_stmt_list |
| 431 |
Form: DW_FORM_sec_offset |
| 432 |
- Attribute: DW_AT_comp_dir |
| 433 |
Form: DW_FORM_strp |
| 434 |
- Attribute: DW_AT_APPLE_optimized |
| 435 |
Form: DW_FORM_flag_present |
| 436 |
- Attribute: DW_AT_low_pc |
| 437 |
Form: DW_FORM_addr |
| 438 |
- Attribute: DW_AT_high_pc |
| 439 |
Form: DW_FORM_data4 |
| 440 |
- Code: 0x2 |
| 441 |
Tag: DW_TAG_variable |
| 442 |
Children: DW_CHILDREN_no |
| 443 |
Attributes: |
| 444 |
- Attribute: DW_AT_name |
| 445 |
Form: DW_FORM_strp |
| 446 |
- Attribute: DW_AT_type |
| 447 |
Form: DW_FORM_ref_addr |
| 448 |
- Attribute: DW_AT_external |
| 449 |
Form: DW_FORM_flag_present |
| 450 |
- Attribute: DW_AT_decl_file |
| 451 |
Form: DW_FORM_data1 |
| 452 |
- Attribute: DW_AT_decl_line |
| 453 |
Form: DW_FORM_data1 |
| 454 |
- Attribute: DW_AT_location |
| 455 |
Form: DW_FORM_exprloc |
| 456 |
- Code: 0x3 |
| 457 |
Tag: DW_TAG_volatile_type |
| 458 |
Children: DW_CHILDREN_no |
| 459 |
Attributes: |
| 460 |
- Attribute: DW_AT_type |
| 461 |
Form: DW_FORM_ref_addr |
| 462 |
- Code: 0x4 |
| 463 |
Tag: DW_TAG_base_type |
| 464 |
Children: DW_CHILDREN_no |
| 465 |
Attributes: |
| 466 |
- Attribute: DW_AT_name |
| 467 |
Form: DW_FORM_strp |
| 468 |
- Attribute: DW_AT_encoding |
| 469 |
Form: DW_FORM_data1 |
| 470 |
- Attribute: DW_AT_byte_size |
| 471 |
Form: DW_FORM_data1 |
| 472 |
- Code: 0x5 |
| 473 |
Tag: DW_TAG_pointer_type |
| 474 |
Children: DW_CHILDREN_no |
| 475 |
Attributes: |
| 476 |
- Attribute: DW_AT_type |
| 477 |
Form: DW_FORM_ref_addr |
| 478 |
- Code: 0x6 |
| 479 |
Tag: DW_TAG_subroutine_type |
| 480 |
Children: DW_CHILDREN_no |
| 481 |
Attributes: |
| 482 |
- Attribute: DW_AT_type |
| 483 |
Form: DW_FORM_ref_addr |
| 484 |
- Code: 0x7 |
| 485 |
Tag: DW_TAG_subprogram |
| 486 |
Children: DW_CHILDREN_no |
| 487 |
Attributes: |
| 488 |
- Attribute: DW_AT_low_pc |
| 489 |
Form: DW_FORM_addr |
| 490 |
- Attribute: DW_AT_high_pc |
| 491 |
Form: DW_FORM_data4 |
| 492 |
- Attribute: DW_AT_APPLE_omit_frame_ptr |
| 493 |
Form: DW_FORM_flag_present |
| 494 |
- Attribute: DW_AT_frame_base |
| 495 |
Form: DW_FORM_exprloc |
| 496 |
- Attribute: DW_AT_call_all_calls |
| 497 |
Form: DW_FORM_flag_present |
| 498 |
- Attribute: DW_AT_name |
| 499 |
Form: DW_FORM_strp |
| 500 |
- Attribute: DW_AT_decl_file |
| 501 |
Form: DW_FORM_data1 |
| 502 |
- Attribute: DW_AT_decl_line |
| 503 |
Form: DW_FORM_data1 |
| 504 |
- Attribute: DW_AT_external |
| 505 |
Form: DW_FORM_flag_present |
| 506 |
- Attribute: DW_AT_APPLE_optimized |
| 507 |
Form: DW_FORM_flag_present |
| 508 |
- Code: 0x8 |
| 509 |
Tag: DW_TAG_subprogram |
| 510 |
Children: DW_CHILDREN_yes |
| 511 |
Attributes: |
| 512 |
- Attribute: DW_AT_low_pc |
| 513 |
Form: DW_FORM_addr |
| 514 |
- Attribute: DW_AT_high_pc |
| 515 |
Form: DW_FORM_data4 |
| 516 |
- Attribute: DW_AT_frame_base |
| 517 |
Form: DW_FORM_exprloc |
| 518 |
- Attribute: DW_AT_call_all_calls |
| 519 |
Form: DW_FORM_flag_present |
| 520 |
- Attribute: DW_AT_name |
| 521 |
Form: DW_FORM_strp |
| 522 |
- Attribute: DW_AT_decl_file |
| 523 |
Form: DW_FORM_data1 |
| 524 |
- Attribute: DW_AT_decl_line |
| 525 |
Form: DW_FORM_data1 |
| 526 |
- Attribute: DW_AT_external |
| 527 |
Form: DW_FORM_flag_present |
| 528 |
- Attribute: DW_AT_APPLE_optimized |
| 529 |
Form: DW_FORM_flag_present |
| 530 |
- Code: 0x9 |
| 531 |
Tag: DW_TAG_call_site |
| 532 |
Children: DW_CHILDREN_no |
| 533 |
Attributes: |
| 534 |
- Attribute: DW_AT_call_origin |
| 535 |
Form: DW_FORM_ref4 |
| 536 |
- Attribute: DW_AT_call_return_pc |
| 537 |
Form: DW_FORM_addr |
| 538 |
- Code: 0xA |
| 539 |
Tag: DW_TAG_call_site |
| 540 |
Children: DW_CHILDREN_no |
| 541 |
Attributes: |
| 542 |
- Attribute: DW_AT_call_target |
| 543 |
Form: DW_FORM_exprloc |
| 544 |
- Attribute: DW_AT_call_return_pc |
| 545 |
Form: DW_FORM_addr |
| 546 |
- Code: 0xB |
| 547 |
Tag: DW_TAG_subprogram |
| 548 |
Children: DW_CHILDREN_yes |
| 549 |
Attributes: |
| 550 |
- Attribute: DW_AT_low_pc |
| 551 |
Form: DW_FORM_addr |
| 552 |
- Attribute: DW_AT_high_pc |
| 553 |
Form: DW_FORM_data4 |
| 554 |
- Attribute: DW_AT_frame_base |
| 555 |
Form: DW_FORM_exprloc |
| 556 |
- Attribute: DW_AT_call_all_calls |
| 557 |
Form: DW_FORM_flag_present |
| 558 |
- Attribute: DW_AT_name |
| 559 |
Form: DW_FORM_strp |
| 560 |
- Attribute: DW_AT_decl_file |
| 561 |
Form: DW_FORM_data1 |
| 562 |
- Attribute: DW_AT_decl_line |
| 563 |
Form: DW_FORM_data1 |
| 564 |
- Attribute: DW_AT_type |
| 565 |
Form: DW_FORM_ref_addr |
| 566 |
- Attribute: DW_AT_external |
| 567 |
Form: DW_FORM_flag_present |
| 568 |
- Attribute: DW_AT_APPLE_optimized |
| 569 |
Form: DW_FORM_flag_present |
| 570 |
debug_aranges: |
| 571 |
- Length: 0x2C |
| 572 |
Version: 2 |
| 573 |
CuOffset: 0x0 |
| 574 |
AddressSize: 0x8 |
| 575 |
Descriptors: |
| 576 |
- Address: 0x100000338 |
| 577 |
Length: 0xD8 |
| 578 |
debug_info: |
| 579 |
- Length: 0x1A4 |
| 580 |
Version: 4 |
| 581 |
AbbrevTableID: 0 |
| 582 |
AbbrOffset: 0x0 |
| 583 |
AddrSize: 8 |
| 584 |
Entries: |
| 585 |
- AbbrCode: 0x1 |
| 586 |
Values: |
| 587 |
- Value: 0x1 |
| 588 |
- Value: 0x21 |
| 589 |
- Value: 0x6E |
| 590 |
- Value: 0x7D |
| 591 |
- Value: 0x0 |
| 592 |
- Value: 0x7F |
| 593 |
- Value: 0x1 |
| 594 |
- Value: 0x100000338 |
| 595 |
- Value: 0xD8 |
| 596 |
- AbbrCode: 0x2 |
| 597 |
Values: |
| 598 |
- Value: 0xAC |
| 599 |
- Value: 0x43 |
| 600 |
- Value: 0x1 |
| 601 |
- Value: 0x1 |
| 602 |
- Value: 0x4 |
| 603 |
- Value: 0x9 |
| 604 |
BlockData: [ 0x3, 0x0, 0x40, 0x0, 0x0, 0x1, 0x0, 0x0, |
| 605 |
0x0 ] |
| 606 |
- AbbrCode: 0x3 |
| 607 |
Values: |
| 608 |
- Value: 0x48 |
| 609 |
- AbbrCode: 0x4 |
| 610 |
Values: |
| 611 |
- Value: 0xBB |
| 612 |
- Value: 0x5 |
| 613 |
- Value: 0x4 |
| 614 |
- AbbrCode: 0x2 |
| 615 |
Values: |
| 616 |
- Value: 0xBF |
| 617 |
- Value: 0x64 |
| 618 |
- Value: 0x1 |
| 619 |
- Value: 0x1 |
| 620 |
- Value: 0x5 |
| 621 |
- Value: 0x9 |
| 622 |
BlockData: [ 0x3, 0x8, 0x40, 0x0, 0x0, 0x1, 0x0, 0x0, |
| 623 |
0x0 ] |
| 624 |
- AbbrCode: 0x3 |
| 625 |
Values: |
| 626 |
- Value: 0x69 |
| 627 |
- AbbrCode: 0x5 |
| 628 |
Values: |
| 629 |
- Value: 0x6E |
| 630 |
- AbbrCode: 0x6 |
| 631 |
Values: |
| 632 |
- Value: 0x48 |
| 633 |
- AbbrCode: 0x2 |
| 634 |
Values: |
| 635 |
- Value: 0xCA |
| 636 |
- Value: 0x64 |
| 637 |
- Value: 0x1 |
| 638 |
- Value: 0x1 |
| 639 |
- Value: 0x6 |
| 640 |
- Value: 0x9 |
| 641 |
BlockData: [ 0x3, 0x10, 0x40, 0x0, 0x0, 0x1, 0x0, 0x0, |
| 642 |
0x0 ] |
| 643 |
- AbbrCode: 0x7 |
| 644 |
Values: |
| 645 |
- Value: 0x100000338 |
| 646 |
- Value: 0x14 |
| 647 |
- Value: 0x1 |
| 648 |
- Value: 0x1 |
| 649 |
BlockData: [ 0x6F ] |
| 650 |
- Value: 0x1 |
| 651 |
- Value: 0xDC |
| 652 |
- Value: 0x1 |
| 653 |
- Value: 0x8 |
| 654 |
- Value: 0x1 |
| 655 |
- Value: 0x1 |
| 656 |
- AbbrCode: 0x7 |
| 657 |
Values: |
| 658 |
- Value: 0x10000034C |
| 659 |
- Value: 0x14 |
| 660 |
- Value: 0x1 |
| 661 |
- Value: 0x1 |
| 662 |
BlockData: [ 0x6F ] |
| 663 |
- Value: 0x1 |
| 664 |
- Value: 0xF0 |
| 665 |
- Value: 0x1 |
| 666 |
- Value: 0x9 |
| 667 |
- Value: 0x1 |
| 668 |
- Value: 0x1 |
| 669 |
- AbbrCode: 0x7 |
| 670 |
Values: |
| 671 |
- Value: 0x100000360 |
| 672 |
- Value: 0x14 |
| 673 |
- Value: 0x1 |
| 674 |
- Value: 0x1 |
| 675 |
BlockData: [ 0x6F ] |
| 676 |
- Value: 0x1 |
| 677 |
- Value: 0x104 |
| 678 |
- Value: 0x1 |
| 679 |
- Value: 0xA |
| 680 |
- Value: 0x1 |
| 681 |
- Value: 0x1 |
| 682 |
- AbbrCode: 0x7 |
| 683 |
Values: |
| 684 |
- Value: 0x100000374 |
| 685 |
- Value: 0x14 |
| 686 |
- Value: 0x1 |
| 687 |
- Value: 0x1 |
| 688 |
BlockData: [ 0x6F ] |
| 689 |
- Value: 0x1 |
| 690 |
- Value: 0x118 |
| 691 |
- Value: 0x1 |
| 692 |
- Value: 0xC |
| 693 |
- Value: 0x1 |
| 694 |
- Value: 0x1 |
| 695 |
- AbbrCode: 0x7 |
| 696 |
Values: |
| 697 |
- Value: 0x100000388 |
| 698 |
- Value: 0x14 |
| 699 |
- Value: 0x1 |
| 700 |
- Value: 0x1 |
| 701 |
BlockData: [ 0x6F ] |
| 702 |
- Value: 0x1 |
| 703 |
- Value: 0x12C |
| 704 |
- Value: 0x1 |
| 705 |
- Value: 0xD |
| 706 |
- Value: 0x1 |
| 707 |
- Value: 0x1 |
| 708 |
- AbbrCode: 0x7 |
| 709 |
Values: |
| 710 |
- Value: 0x10000039C |
| 711 |
- Value: 0x14 |
| 712 |
- Value: 0x1 |
| 713 |
- Value: 0x1 |
| 714 |
BlockData: [ 0x6F ] |
| 715 |
- Value: 0x1 |
| 716 |
- Value: 0x140 |
| 717 |
- Value: 0x1 |
| 718 |
- Value: 0xE |
| 719 |
- Value: 0x1 |
| 720 |
- Value: 0x1 |
| 721 |
- AbbrCode: 0x8 |
| 722 |
Values: |
| 723 |
- Value: 0x1000003B0 |
| 724 |
- Value: 0x48 |
| 725 |
- Value: 0x1 |
| 726 |
BlockData: [ 0x6D ] |
| 727 |
- Value: 0x1 |
| 728 |
- Value: 0x154 |
| 729 |
- Value: 0x1 |
| 730 |
- Value: 0x10 |
| 731 |
- Value: 0x1 |
| 732 |
- Value: 0x1 |
| 733 |
- AbbrCode: 0x9 |
| 734 |
Values: |
| 735 |
- Value: 0x88 |
| 736 |
- Value: 0x1000003BC |
| 737 |
- AbbrCode: 0x9 |
| 738 |
Values: |
| 739 |
- Value: 0x9D |
| 740 |
- Value: 0x1000003C0 |
| 741 |
- AbbrCode: 0x9 |
| 742 |
Values: |
| 743 |
- Value: 0xB2 |
| 744 |
- Value: 0x1000003C4 |
| 745 |
- AbbrCode: 0x9 |
| 746 |
Values: |
| 747 |
- Value: 0xC7 |
| 748 |
- Value: 0x1000003C8 |
| 749 |
- AbbrCode: 0x9 |
| 750 |
Values: |
| 751 |
- Value: 0xDC |
| 752 |
- Value: 0x1000003CC |
| 753 |
- AbbrCode: 0x9 |
| 754 |
Values: |
| 755 |
- Value: 0xF1 |
| 756 |
- Value: 0x1000003D0 |
| 757 |
- AbbrCode: 0xA |
| 758 |
Values: |
| 759 |
- Value: 0x1 |
| 760 |
BlockData: [ 0x58 ] |
| 761 |
- Value: 0x1000003DC |
| 762 |
- AbbrCode: 0xA |
| 763 |
Values: |
| 764 |
- Value: 0x1 |
| 765 |
BlockData: [ 0x58 ] |
| 766 |
- Value: 0x1000003E8 |
| 767 |
- AbbrCode: 0x0 |
| 768 |
- AbbrCode: 0xB |
| 769 |
Values: |
| 770 |
- Value: 0x1000003F8 |
| 771 |
- Value: 0x18 |
| 772 |
- Value: 0x1 |
| 773 |
BlockData: [ 0x6D ] |
| 774 |
- Value: 0x1 |
| 775 |
- Value: 0x175 |
| 776 |
- Value: 0x1 |
| 777 |
- Value: 0x1F |
| 778 |
- Value: 0x48 |
| 779 |
- Value: 0x1 |
| 780 |
- Value: 0x1 |
| 781 |
- AbbrCode: 0x9 |
| 782 |
Values: |
| 783 |
- Value: 0x106 |
| 784 |
- Value: 0x100000404 |
| 785 |
- AbbrCode: 0x0 |
| 786 |
- AbbrCode: 0x0 |
| 787 |
debug_line: |
| 788 |
- Length: 146 |
| 789 |
Version: 4 |
| 790 |
PrologueLength: 38 |
| 791 |
MinInstLength: 1 |
| 792 |
MaxOpsPerInst: 1 |
| 793 |
DefaultIsStmt: 1 |
| 794 |
LineBase: 251 |
| 795 |
LineRange: 14 |
| 796 |
OpcodeBase: 13 |
| 797 |
StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ] |
| 798 |
Files: |
| 799 |
- Name: call_sites.cpp |
| 800 |
DirIdx: 0 |
| 801 |
ModTime: 0 |
| 802 |
Length: 0 |
| 803 |
Opcodes: |
| 804 |
- Opcode: DW_LNS_extended_op |
| 805 |
ExtLen: 9 |
| 806 |
SubOpcode: DW_LNE_set_address |
| 807 |
Data: 4294968120 |
| 808 |
- Opcode: DW_LNS_set_column |
| 809 |
Data: 54 |
| 810 |
- Opcode: DW_LNS_set_prologue_end |
| 811 |
Data: 0 |
| 812 |
- Opcode: 0x19 |
| 813 |
Data: 0 |
| 814 |
- Opcode: DW_LNS_set_column |
| 815 |
Data: 58 |
| 816 |
- Opcode: DW_LNS_negate_stmt |
| 817 |
Data: 0 |
| 818 |
- Opcode: 0xF2 |
| 819 |
Data: 0 |
| 820 |
- Opcode: DW_LNS_set_column |
| 821 |
Data: 54 |
| 822 |
- Opcode: DW_LNS_negate_stmt |
| 823 |
Data: 0 |
| 824 |
- Opcode: DW_LNS_set_prologue_end |
| 825 |
Data: 0 |
| 826 |
- Opcode: 0x4B |
| 827 |
Data: 0 |
| 828 |
- Opcode: DW_LNS_set_column |
| 829 |
Data: 58 |
| 830 |
- Opcode: DW_LNS_negate_stmt |
| 831 |
Data: 0 |
| 832 |
- Opcode: 0xF2 |
| 833 |
Data: 0 |
| 834 |
- Opcode: DW_LNS_set_column |
| 835 |
Data: 54 |
| 836 |
- Opcode: DW_LNS_negate_stmt |
| 837 |
Data: 0 |
| 838 |
- Opcode: DW_LNS_set_prologue_end |
| 839 |
Data: 0 |
| 840 |
- Opcode: 0x4B |
| 841 |
Data: 0 |
| 842 |
- Opcode: DW_LNS_set_column |
| 843 |
Data: 58 |
| 844 |
- Opcode: DW_LNS_negate_stmt |
| 845 |
Data: 0 |
| 846 |
- Opcode: 0xF2 |
| 847 |
Data: 0 |
| 848 |
- Opcode: DW_LNS_set_column |
| 849 |
Data: 54 |
| 850 |
- Opcode: DW_LNS_negate_stmt |
| 851 |
Data: 0 |
| 852 |
- Opcode: DW_LNS_set_prologue_end |
| 853 |
Data: 0 |
| 854 |
- Opcode: 0x4C |
| 855 |
Data: 0 |
| 856 |
- Opcode: DW_LNS_set_column |
| 857 |
Data: 58 |
| 858 |
- Opcode: DW_LNS_negate_stmt |
| 859 |
Data: 0 |
| 860 |
- Opcode: 0xF2 |
| 861 |
Data: 0 |
| 862 |
- Opcode: DW_LNS_set_column |
| 863 |
Data: 54 |
| 864 |
- Opcode: DW_LNS_negate_stmt |
| 865 |
Data: 0 |
| 866 |
- Opcode: DW_LNS_set_prologue_end |
| 867 |
Data: 0 |
| 868 |
- Opcode: 0x4B |
| 869 |
Data: 0 |
| 870 |
- Opcode: DW_LNS_set_column |
| 871 |
Data: 58 |
| 872 |
- Opcode: DW_LNS_negate_stmt |
| 873 |
Data: 0 |
| 874 |
- Opcode: 0xF2 |
| 875 |
Data: 0 |
| 876 |
- Opcode: DW_LNS_set_column |
| 877 |
Data: 54 |
| 878 |
- Opcode: DW_LNS_negate_stmt |
| 879 |
Data: 0 |
| 880 |
- Opcode: DW_LNS_set_prologue_end |
| 881 |
Data: 0 |
| 882 |
- Opcode: 0x4B |
| 883 |
Data: 0 |
| 884 |
- Opcode: DW_LNS_set_column |
| 885 |
Data: 58 |
| 886 |
- Opcode: DW_LNS_negate_stmt |
| 887 |
Data: 0 |
| 888 |
- Opcode: 0xF2 |
| 889 |
Data: 0 |
| 890 |
- Opcode: DW_LNS_set_column |
| 891 |
Data: 0 |
| 892 |
- Opcode: DW_LNS_negate_stmt |
| 893 |
Data: 0 |
| 894 |
- Opcode: 0x4C |
| 895 |
Data: 0 |
| 896 |
- Opcode: DW_LNS_set_column |
| 897 |
Data: 5 |
| 898 |
- Opcode: DW_LNS_set_prologue_end |
| 899 |
Data: 0 |
| 900 |
- Opcode: 0x83 |
| 901 |
Data: 0 |
| 902 |
- Opcode: 0x4B |
| 903 |
Data: 0 |
| 904 |
- Opcode: 0x4B |
| 905 |
Data: 0 |
| 906 |
- Opcode: 0x4C |
| 907 |
Data: 0 |
| 908 |
- Opcode: 0x4B |
| 909 |
Data: 0 |
| 910 |
- Opcode: 0x4B |
| 911 |
Data: 0 |
| 912 |
- Opcode: 0x4C |
| 913 |
Data: 0 |
| 914 |
- Opcode: 0xBB |
| 915 |
Data: 0 |
| 916 |
- Opcode: DW_LNS_set_column |
| 917 |
Data: 20 |
| 918 |
- Opcode: 0xBC |
| 919 |
Data: 0 |
| 920 |
- Opcode: DW_LNS_set_column |
| 921 |
Data: 1 |
| 922 |
- Opcode: DW_LNS_set_epilogue_begin |
| 923 |
Data: 0 |
| 924 |
- Opcode: 0x83 |
| 925 |
Data: 0 |
| 926 |
- Opcode: DW_LNS_set_column |
| 927 |
Data: 0 |
| 928 |
- Opcode: 0x84 |
| 929 |
Data: 0 |
| 930 |
- Opcode: DW_LNS_set_column |
| 931 |
Data: 3 |
| 932 |
- Opcode: DW_LNS_set_prologue_end |
| 933 |
Data: 0 |
| 934 |
- Opcode: 0x83 |
| 935 |
Data: 0 |
| 936 |
- Opcode: 0x4B |
| 937 |
Data: 0 |
| 938 |
- Opcode: DW_LNS_negate_stmt |
| 939 |
Data: 0 |
| 940 |
- Opcode: DW_LNS_set_epilogue_begin |
| 941 |
Data: 0 |
| 942 |
- Opcode: 0x4A |
| 943 |
Data: 0 |
| 944 |
- Opcode: DW_LNS_advance_pc |
| 945 |
Data: 8 |
| 946 |
- Opcode: DW_LNS_extended_op |
| 947 |
ExtLen: 1 |
| 948 |
SubOpcode: DW_LNE_end_sequence |
| 949 |
Data: 0 |
| 950 |
... |