[llvm-bugs] [Bug 44728] New: clang-10 -gdwarf-5 fails with WebAssembly output
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 31 05:20:47 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44728
Bug ID: 44728
Summary: clang-10 -gdwarf-5 fails with WebAssembly output
Product: libraries
Version: 10.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: WebAssembly
Assignee: unassignedbugs at nondot.org
Reporter: ggreif at gmail.com
CC: llvm-bugs at lists.llvm.org
Created attachment 23075
--> https://bugs.llvm.org/attachment.cgi?id=23075&action=edit
Reproduction artefacts
-gdwarf-4 works
-gdwarf-5 crashes.
relevant snippet
```
6 libsystem_platform.dylib 0x00007ffee90d3d60 _sigtramp + 18446744071613513248
7 libLLVM.dylib 0x0000000109c5636e
llvm::DwarfDebug::finishUnitAttributes(llvm::DICompileUnit const*,
llvm::DwarfCompileUnit&) + 398
8 libLLVM.dylib 0x0000000109c54a70
llvm::DwarfDebug::getOrCreateDwarfCompileUnit(llvm::DICompileUnit const*) + 896
9 libLLVM.dylib 0x0000000109c573bb llvm::DwarfDebug::beginModule()
+ 1947
10 libLLVM.dylib 0x0000000109c2709d
llvm::AsmPrinter::doInitialization(llvm::Module&) + 1341
11 libLLVM.dylib 0x00000001096043a1
llvm::FPPassManager::doInitialization(llvm::Module&) + 49
12 libLLVM.dylib 0x0000000109604671
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 593
13 libclang-cpp.dylib 0x00000001079a24df
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions
const&, clang::CodeGenOptions const&, clang::TargetOptions const&,
clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*,
clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream,
std::__1::default_delete<llvm::raw_pwrite_stream> >) + 14415
14 libclang-cpp.dylib 0x0000000107c66d44
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 1044
15 libclang-cpp.dylib 0x0000000106c6d513 clang::ParseAST(clang::Sema&,
bool, bool) + 659
16 libclang-cpp.dylib 0x000000010841adb8 clang::FrontendAction::Execute()
+ 168
```
--
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/20200131/7616b086/attachment.html>
More information about the llvm-bugs
mailing list