<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - assertion in emitting wasm dwarf debug info"
href="https://bugs.llvm.org/show_bug.cgi?id=37453">37453</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>assertion in emitting wasm dwarf debug info
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: WebAssembly
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ck@remobjects.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=20303" name="attach_20303" title="testcase zipped">attachment 20303</a> <a href="attachment.cgi?id=20303&action=edit" title="testcase zipped">[details]</a></span>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>