[LLVMdev] Debug information causing assertion

Villmow, Micah Micah.Villmow at amd.com
Fri Aug 17 12:57:27 PDT 2012


We have a test case where we are hitting an assertion in the X86 code generator. The assertion is: "Assertion failed: TheCU && "Unable to find compile unit!", file .\..\..\..\lib\CodeGen\AsmPrinter\DwarfDebug.cpp, line 1411"

The bitcode is attached.

What I am trying to figure out is what is malformed about our debug that is causing this error? This is reproducible with 'llc -march=x86 bugpoint-reduced-simplified.bc'.

As far as I can tell, the variable 'TheCU' should map to the metadata node !24.

Is this a bug?

Thanks,
Micah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120817/fb60af6a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugpoint-reduced-simplified.bc
Type: application/octet-stream
Size: 1948 bytes
Desc: bugpoint-reduced-simplified.bc
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120817/fb60af6a/attachment.obj>


More information about the llvm-dev mailing list