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 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


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