[PATCH] Be prepared for DWARF4 .debug_frame (and .eh_frame) format
Jason Merrill
jason@redhat.com
Tue Apr 20 23:30:00 GMT 2010
On 04/20/2010 12:53 PM, Jakub Jelinek wrote:
>>>>> + if (aug[0] != 'z')
>>>>> + p += sizeof (void *);
>>>>
>> I still don't understand what that's trying to skip. What is "g++
>> v2 pointer"? If there is any EH information it comes after the RA
>> column, not immediately after the augmentation string.
>
> If augmentation is "eh", then the header has:
> uword length
> sword cie_id
> ubyte version
> string "eh"
> pointer eh_ptr
Ah. When/where is such an augmentation generated? Is this just a
backwards compatibility thing? In any case handling of this case should
check for an augmentation string of "eh", not assume that anything that
doesn't start with 'z' is "eh".
Jason
More information about the Gcc-patches
mailing list