-
Notifications
You must be signed in to change notification settings - Fork 374
Split DWARF support #156
Copy link
Copy link
Closed
Description
Is it planed to add Split DWARF support to bloaty?
-d compileunits does not work for my build where debug info is outsourced into external .dwo files.
VM SIZE FILE SIZE
-------------- --------------
0.0% 0 [section .debug_ranges] 4.46Mi 26.0%
0.0% 0 [section .debug_addr] 4.41Mi 25.7%
0.0% 0 [section .debug_line] 2.78Mi 16.2%
0.0% 0 [section .gdb_index] 2.78Mi 16.2%
77.2% 1.52Mi [DWARF is missing filename] 1.86Mi 10.9%
readelf --debug-dump looks like this:
Contents of the .debug_info section:
Compilation Unit @ offset 0x0:
Length: 0x30 (32-bit)
Version: 4
Abbrev Offset: 0x0
Pointer Size: 8
<0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
<c> DW_AT_ranges : 0x106d0
<10> DW_AT_low_pc : 0x0
<18> DW_AT_stmt_list : 0x0
<1c> DW_AT_GNU_dwo_name: (indirect string, offset: 0x0): product/CMakeFiles/product_module_objlib.dir/product.cpp.dwo
<20> DW_AT_comp_dir : (indirect string, offset: 0x40): /develop/git1/gen/opt
<24> DW_AT_GNU_pubnames: 1
<24> DW_AT_GNU_addr_base: 0x0
<28> DW_AT_GNU_dwo_id : 0xdb38d234acb62a94
<30> DW_AT_GNU_ranges_base: 0x0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels