<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 - Segfault in llvm::DIE::getUnitDie"
   href="https://bugs.llvm.org/show_bug.cgi?id=50703">50703</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segfault in llvm::DIE::getUnitDie
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>12.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>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DebugInfo
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tblodt@icloud.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jdevlieghere@apple.com, keith.walker@arm.com, llvm-bugs@lists.llvm.org, paul_robinson@playstation.sony.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: /usr/bin/clang-12 -cc1 -triple x86_64-pc-linux-gnu
-emit-obj -mrelax-all --mrelax-relocations -disable-free -disable-llvm-verifier
-discard-value-names -main-file-name poll.c -mrelocation-model pic -pic-level 2
-fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno
-fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu x86-64
-tune-cpu generic -fno-split-dwarf-inlining -debug-info-kind=limited
-dwarf-version=4 -debugger-tuning=gdb -sys-header-deps -D _FILE_OFFSET_BITS=64
-D LOG_HANDLER_DPRINTF=1 -D ENGINE_JIT=1 -Wall -Winvalid-pch -Wextra
-Wimplicit-fallthrough -Wtautological-constant-in-range-compare -Wno-switch
-std=gnu11 -ferror-limit 19 -stack-protector 2 -fgnuc-version=4.2.1
-fcolor-diagnostics -faddrsig -x c poll-23377e.c
1.      <eof> parser at end of file
2.      Code generation
 #0 0x00007fca2a0fa643 (/usr/bin/../lib/libLLVM-12.so+0xb48643)
 #1 0x00007fca2a0f7d46 (/usr/bin/../lib/libLLVM-12.so+0xb45d46)
 #2 0x00007fca2920cda0 __restore_rt (/usr/bin/../lib/libc.so.6+0x3cda0)
 #3 0x00007fca2aa95af0 llvm::DIE::getUnitDie() const
(/usr/bin/../lib/libLLVM-12.so+0x14e3af0)
 #4 0x00007fca2aab6f3d llvm::DwarfDebug::finishEntityDefinitions()
(/usr/bin/../lib/libLLVM-12.so+0x1504f3d)
 #5 0x00007fca2aacb456 llvm::DwarfDebug::finalizeModuleInfo()
(/usr/bin/../lib/libLLVM-12.so+0x1519456)
 #6 0x00007fca2aad3130 llvm::DwarfDebug::endModule()
(/usr/bin/../lib/libLLVM-12.so+0x1521130)
 #7 0x00007fca2aa7e026 llvm::AsmPrinter::doFinalization(llvm::Module&)
(/usr/bin/../lib/libLLVM-12.so+0x14cc026)
 #8 0x00007fca2a24b67d llvm::FPPassManager::doFinalization(llvm::Module&)
(/usr/bin/../lib/libLLVM-12.so+0xc9967d)
 #9 0x00007fca2a2582b8 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/bin/../lib/libLLVM-12.so+0xca62b8)
#10 0x00007fca310e4173 (/usr/bin/../lib/libclang-cpp.so.12+0x1898173)
#11 0x00007fca310e6035 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout
const&, llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >)
(/usr/bin/../lib/libclang-cpp.so.12+0x189a035)
#12 0x00007fca314635e2 (/usr/bin/../lib/libclang-cpp.so.12+0x1c175e2)
#13 0x00007fca30183659 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/bin/../lib/libclang-cpp.so.12+0x937659)
#14 0x00007fca31bce249 clang::FrontendAction::Execute()
(/usr/bin/../lib/libclang-cpp.so.12+0x2382249)
#15 0x00007fca31b6554e
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/bin/../lib/libclang-cpp.so.12+0x231954e)
#16 0x00007fca31c4e929
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/bin/../lib/libclang-cpp.so.12+0x2402929)
#17 0x000055e692e8e8de cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/bin/clang-12+0x128de)
#18 0x000055e692e8bee8 (/usr/bin/clang-12+0xfee8)
#19 0x000055e692e88505 main (/usr/bin/clang-12+0xc505)
#20 0x00007fca291f7b25 __libc_start_main (/usr/bin/../lib/libc.so.6+0x27b25)
#21 0x000055e692e8b86e _start (/usr/bin/clang-12+0xf86e)
poll-23377e.sh: line 4: 45430 Segmentation fault      (core dumped)
"/usr/bin/clang-12" "-cc1" "-triple" "x86_64-pc-linux-gnu" "-emit-obj"
"-mrelax-all" "--mrelax-relocations" "-disable-free" "-disable-llvm-verifier"
"-discard-value-names" "-main-file-name" "poll.c" "-mrelocation-model" "pic"
"-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all"
"-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-munwind-tables"
"-target-cpu" "x86-64" "-tune-cpu" "generic" "-fno-split-dwarf-inlining"
"-debug-info-kind=limited" "-dwarf-version=4" "-debugger-tuning=gdb"
"-sys-header-deps" "-D" "_FILE_OFFSET_BITS=64" "-D" "LOG_HANDLER_DPRINTF=1"
"-D" "ENGINE_JIT=1" "-Wall" "-Winvalid-pch" "-Wextra" "-Wimplicit-fallthrough"
"-Wtautological-constant-in-range-compare" "-Wno-switch" "-std=gnu11"
"-ferror-limit" "19" "-stack-protector" "2" "-fgnuc-version=4.2.1"
"-fcolor-diagnostics" "-faddrsig" "-x" "c" "poll-23377e.c"</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>