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/02/2010 05:32 AM, Jakub Jelinek wrote:
@@ -358,6 +358,12 @@ extract_cie_info (const struct dwarf_cie

    /* Immediately following the augmentation are the code and
       data alignment and return address column.  */
+  if (__builtin_expect (cie->version>= 4, 0))
+    {
+      if (p[0] != sizeof (void *) || p[1] != 0)
+	return NULL;
+      p += 2;
+    }

The comment needs an update.


+      if (aug[0] != 'z')
+	p += sizeof (void *);

This also needs a comment.


Jason


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