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: unassignedclangb...@nondot.org
Reporter: caij2...@gmail.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs