[llvm-bugs] [Bug 44685] New: [ThinLTO] llvm::DwarfDebug::NonTypeUnitContext::NonTypeUnitContext(llvm::DwarfDebug *): Assertion `TypeUnitsUnderConstruction.empty() || !DD->AddrPool.hasBeenUsed()' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jan 27 15:21:26 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44685
Bug ID: 44685
Summary: [ThinLTO]
llvm::DwarfDebug::NonTypeUnitContext::NonTypeUnitConte
xt(llvm::DwarfDebug *): Assertion
`TypeUnitsUnderConstruction.empty() ||
!DD->AddrPool.hasBeenUsed()' failed.
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: caij2003 at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
Created attachment 23066
--> https://bugs.llvm.org/attachment.cgi?id=23066&action=edit
A reduced code example for reproducing the issue.
Chrome failed to build during linking with thinlto on ChromeOS with the
following assertion failure
chromeos-chrome-81.0.4001.0_rc-r1: ld.lld:
/var/tmp/portage/sys-devel/llvm-10.0_pre370808_p20191029-r6/work/llvm-10.0_pre370808_p20191029/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:2998:
llvm::DwarfDebug::NonTypeUnitContext::NonTypeUnitContext(llvm::DwarfDebug *):
Assertion `TypeUnitsUnderConstruction.empty() || !DD->AddrPool.hasBeenUsed()'
failed.
I've attached a reduced example (repro.cpp). To reproduce, run
$ /path/to/clang++ -c -g -gsplit-dwarf -mllvm -generate-type-units repro.cpp
--
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/20200127/11fc630d/attachment-0001.html>
More information about the llvm-bugs
mailing list