[llvm-bugs] [Bug 24923] Broken module (piece is larger than or outside of variable) with -g and -flto
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 24 11:51:40 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24923
Adrian Prantl <aprantl at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Adrian Prantl <aprantl at apple.com> ---
Yes, this is expected. Because this is C++, LLVM uses the type's mangled name
to point to the type metadata, which means that randomly one of the two
definitions of P wins.
In this case the empty struct P won and the assertion is complaining that we're
describing debug info that is larger than sizeof(P).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150924/9bc17e26/attachment.html>
More information about the llvm-bugs
mailing list