[llvm-bugs] [Bug 37453] New: assertion in emitting wasm dwarf debug info
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon May 14 08:48:41 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37453
Bug ID: 37453
Summary: assertion in emitting wasm dwarf debug info
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: WebAssembly
Assignee: unassignedbugs at nondot.org
Reporter: ck at remobjects.com
CC: llvm-bugs at lists.llvm.org
Created attachment 20303
--> https://bugs.llvm.org/attachment.cgi?id=20303&action=edit
testcase zipped
Fails on
assert(WasmIndices.count(&WS) > 0);
+ WS {Type=WASM_SYMBOL_TYPE_SECTION (3) IsWeak=false
IsHidden=false ...} const llvm::MCSymbolWasm &
`anonymous namespace'::WasmObjectWriter::writeObject(llvm::MCAssembler & Asm,
const llvm::MCAsmLayout & Layout) Line 1363 C++
llvm::MCAssembler::Finish() Line 796 C++
llvm::MCObjectStreamer::FinishImpl() Line 681 C++
llvm::MCWasmStreamer::FinishImpl() Line 197 C++
llvm::MCStreamer::Finish() Line 842 C++
llvm::AsmPrinter::doFinalization(llvm::Module & M) Line 1538 C++
llvm::FPPassManager::doFinalization(llvm::Module & M) Line 1559 C++
`anonymous namespace'::MPPassManager::runOnModule(llvm::Module & M) Line 1615
C++
llvm::legacy::PassManagerImpl::run(llvm::Module & M) Line 1700 C++
llvm::legacy::PassManager::run(llvm::Module & M) Line 1732 C++
LLVMTargetMachineEmit(LLVMOpaqueTargetMachine * T, LLVMOpaqueModule * M,
llvm::raw_pwrite_stream & OS, LLVMCodeGenFileType codegen, char * *
ErrorMessage) Line 207 C++
LLVMTargetMachineEmitToMemoryBuffer(LLVMOpaqueTargetMachine * T,
LLVMOpaqueModule * M, LLVMCodeGenFileType codegen, char * * ErrorMessage,
LLVMOpaqueMemoryBuffer * * OutMemBuf) Line 229 C++
repro attached, steps:
unzip module13.zip,
llc -O0 -filetype=obj Module13.ll
--
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/20180514/d5db39f4/attachment.html>
More information about the llvm-bugs
mailing list