[Dwarf-Discuss] Vendor extensions in .debug_macinfo

David Anderson davea42@earthlink.net
Thu Jul 14 16:38:48 GMT 2011


On 07/14/2011 09:33 AM, David Anderson wrote:
> On 07/14/2011 09:10 AM, Jakub Jelinek wrote:
>
> The real numbers were given in the mail I've posted URL to,
>> in particular e.g. on x86_64-linux cc1plus:
>> old:
>> -rwxrwxr-x. 1 jakub jakub 484483231 Jul 13 12:43 cc1plus
>>    [12] .text             PROGBITS        00000000004886e0 0886e0 
>> df7938 00  AX  0   0 16
>>    [26] .debug_aranges    PROGBITS        0000000000000000 1239215 
>> 00be90 00      0   0  1
>>    [27] .debug_info       PROGBITS        0000000000000000 12450a5 
>> 276ae23 00      0   0  1
>>    [28] .debug_abbrev     PROGBITS        0000000000000000 39afec8 
>> 08bb08 00      0   0  1
>>    [29] .debug_line       PROGBITS        0000000000000000 3a3b9d0 
>> 47be2d 00      0   0  1
>>    [30] .debug_str        PROGBITS        0000000000000000 3eb77fd 
>> 0faa87 01  MS  0   0  1
>>    [31] .debug_loc        PROGBITS        0000000000000000 3fb2284 
>> 2e56f19 00      0   0  1
>>    [32] .debug_macinfo    PROGBITS        0000000000000000 6e0919d 
>> 154a7e83 00      0   0  1
>>    [33] .debug_ranges     PROGBITS        0000000000000000 1c2b1020 
>> 9fed80 00      0   0  1
>> new:
>> -rwxrwxr-x. 1 jakub jakub 130126820 Jul 13 18:05 cc1plus
>>    [12] .text             PROGBITS        00000000004886e0 0886e0 
>> df8538 00  AX  0   0 16
>>    [26] .debug_aranges    PROGBITS        0000000000000000 1239fb5 
>> 00be90 00      0   0  1
>>    [27] .debug_info       PROGBITS        0000000000000000 1245e45 
>> 276c42e 00      0   0  1
>>    [28] .debug_abbrev     PROGBITS        0000000000000000 39b2273 
>> 08bb0e 00      0   0  1
>>    [29] .debug_line       PROGBITS        0000000000000000 3a3dd81 
>> 491054 00      0   0  1
>>    [30] .debug_str        PROGBITS        0000000000000000 3ecedd5 
>> 2865fe 01  MS  0   0  1
>>    [31] .debug_loc        PROGBITS        0000000000000000 41553d3 
>> 2e5a185 00      0   0  1
>>    [32] .debug_macinfo    PROGBITS        0000000000000000 6faf558 
>> 110100 00      0   0  1
>>    [33] .debug_ranges     PROGBITS        0000000000000000 70bf658 
>> 9ffaf0 00      0   0  1
>

My bad, I was looking at the offset, not size.

Old size 0x154a7e83   357MB new 0x110100  1.1MB?

Yes, that is dramatic savings.

DavidA.


-- 
 From the attic came an unearthly howl. The whole scene had an eerie, surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 p.m. instead of 7:30. -- Roy Ashley





More information about the Dwarf-discuss mailing list