This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Be prepared for DWARF4 .debug_frame (and .eh_frame) format


On Tue, Apr 20, 2010 at 07:20:14PM -0400, Jason Merrill wrote:
> On 04/20/2010 06:28 PM, Jakub Jelinek wrote:
> >On Tue, Apr 20, 2010 at 05:54:57PM -0400, Jason Merrill wrote:
> >>Ah.  When/where is such an augmentation generated?  Is this just a
> >>backwards compatibility thing?  In any case handling of this case
> >
> >Before 3.0.  Yes, it is a backwards compatibility thing.
> 
> So it shouldn't appear together with CIE v4?

It shouldn't.  So should the patch just ignore that possibility
and don't do the if (aug[0] == 'e' && aug[1] == 'h') check
for version >= 4, or return DW_EH_PE_omit (to say the CIE is invalid)?

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]