<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 - clang-10 -gdwarf-5 fails with WebAssembly output"
   href="https://bugs.llvm.org/show_bug.cgi?id=44728">44728</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang-10 -gdwarf-5 fails with WebAssembly output
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>10.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>ggreif@gmail.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=23075" name="attach_23075" title="Reproduction artefacts">attachment 23075</a> <a href="attachment.cgi?id=23075&action=edit" title="Reproduction artefacts">[details]</a></span>
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
```</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>