https://bugs.llvm.org/show_bug.cgi?id=51210
Bug ID: 51210
Summary: Missing SourceMgr when computing ThinLTO ModuleSummary
with inline asm
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: MC
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
target triple = "x86_64-unknown-unknown"
module asm "foo bar"
opt -module-summary -enable-new-pm=0 < test.ll > test.bc
Either SourceMgr should be available
UNREACHABLE executed at /home/nikic/llvm-project/llvm/lib/MC/MCContext.cpp:913!
This is presumably caused by
https://github.com/llvm/llvm-project/commit/5de2d189e6ad466a1f0616195e8c524a4eb3cbc0.
The InlineSourceMgr seems to only get initialized when using the AsmPrinter,
not when using the AsmParser, which is used by ModuleSummaryAnalysis.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs