-
Notifications
You must be signed in to change notification settings - Fork 365
Labels
Description
I tried build my binary with g++ and clang++, and analyze with bloaty. I always had same error
bloaty: Unexpected eh_frame format value: 8
I trying to analyze elf file (linux build), when I run bloaty without flags it prints correct output:
VM SIZE FILE SIZE
-------------- --------------
0.0% 0 .debug_info 63.3Mi 73.2%
0.0% 0 .debug_str 5.82Mi 6.7%
0.0% 0 .debug_loc 5.06Mi 5.8%
0.0% 0 .debug_line 3.11Mi 3.6%
65.1% 3.09Mi .text 3.09Mi 3.6%
0.0% 0 .debug_abbrev 1.71Mi 2.0%
0.0% 0 .debug_ranges 1.51Mi 1.7%
0.0% 0 .strtab 887Ki 1.0%
17.5% 848Ki .eh_frame 848Ki 1.0%
13.7% 664Ki .rodata 664Ki 0.7%
0.0% 0 .symtab 340Ki 0.4%
1.8% 86.9Ki .eh_frame_hdr 86.9Ki 0.1%
0.0% 0 .debug_aranges 77.0Ki 0.1%
1.0% 50.6Ki .gcc_except_table 50.6Ki 0.1%
0.5% 25.0Ki .bss 0 0.0%
0.1% 6.73Ki .dynstr 6.73Ki 0.0%
0.1% 4.50Ki [22 Others] 4.98Ki 0.0%
0.1% 3.80Ki .dynsym 3.80Ki 0.0%
0.1% 3.17Ki .plt 3.17Ki 0.0%
0.0% 340 [ELF Headers] 1.86Ki 0.0%
0.0% 1.58Ki .rel.plt 1.58Ki 0.0%
100.0% 4.75Mi TOTAL 86.6Mi 100.0%
But for compileuntis or symbols I had this error.
OS: Ubuntu 16.04
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
I tried also -g and -ggdb3 flags, same problem