[PATCH] Initial DWARF64 support for .debug_line

Ed Maste emaste at freebsd.org
Thu Feb 27 10:12:39 PST 2014



================
Comment at: lib/DebugInfo/DWARFDebugLine.cpp:220
@@ +219,3 @@
+  if (prologue->IsDWARF64 && end_prologue_offset - *offset_ptr == 12) {
+    fprintf(stderr, "warning: apparent 64-bit DWARF GNU as prologue length bug"
+                    " detected (prologue length 12 bytes too long)\n");
----------------
Eric Christopher wrote:
> Not sure I understand the error here.
gas has a bug that produces an incorrect prologue_length for 64-bit DWARF.  As it turns out we can handle that condition, so we can still return true.

I fixed the underlying bug in FreeBSD here:
http://svnweb.freebsd.org/base?view=revision&revision=256692
and your note reminded me that I never forwarded this to the binutils upstream, so I've now posted to their mailing list as well.

Maybe just drop the message?


http://llvm-reviews.chandlerc.com/D1988



More information about the llvm-commits mailing list