<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/54378>54378</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
             TEST 'lld :: MachO/stabs.s' FAILED
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          codemzs
      </td>
    </tr>
</table>

<pre>
    PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
 #0 0x00000000016e6903 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/mnt/vss/_work/1/b/llvm/Release/bin/lld+0x16e6903)
 #1 0x00000000016e462e llvm::sys::RunSignalHandlers() (/mnt/vss/_work/1/b/llvm/Release/bin/lld+0x16e462e)
 #2 0x00000000016e6eff SignalHandler(int) Signals.cpp:0:0
 #3 0x00007f758b6cc3c0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x143c0)
 #4 0x00000000019e55d7 lld::macho::TrieBuilder::makeNode() (/mnt/vss/_work/1/b/llvm/Release/bin/lld+0x19e55d7)
 #5 0x00000000019e5893 lld::macho::TrieBuilder::sortAndBuild(llvm::MutableArrayRef<lld::macho::Symbol const*>, lld::macho::TrieNode*, unsigned long, unsigned long) (/mnt/vss/_work/1/b/llvm/Release/bin/lld+0x19e5893)
 #6 0x00000000019e5a97 lld::macho::TrieBuilder::sortAndBuild(llvm::MutableArrayRef<lld::macho::Symbol const*>, lld::macho::TrieNode*, unsigned long, unsigned long) (/mnt/vss/_work/1/b/llvm/Release/bin/lld+0x19e5a97)
 #7 0x00000000019e5c75 lld::macho::TrieBuilder::build() (/mnt/vss/_work/1/b/llvm/Release/bin/lld+0x19e5c75)
 #8 0x0000000001a02b8e lld::macho::ExportSection::finalizeContents() (/mnt/vss/_work/1/b/llvm/Release/bin/lld+0x1a02b8e)
 #9 0x0000000001a2315c std::_Function_handler<void (), llvm::ThreadPool::createTaskAndFuture(std::function<void ()>)::'lambda'()>::_M_invoke(std::_Any_data const&) Writer.cpp:0:0
#10 0x0000000001a34801 void* llvm::thread::ThreadProxy<std::tuple<llvm::ThreadPool::grow(int)::$_0> >(void*) ThreadPool.cpp:0:0
#11 0x00007f758b6c0609 start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8609)
#12 0x00007f758b081163 __clone (/lib/x86_64-linux-gnu/libc.so.6+0x11f163)
/mnt/vss/_work/1/b/llvm/Release/tools/lld/test/MachO/Output/stabs.s.script: line 21: 385839 Segmentation fault      (core dumped) ld64.lld -arch x86_64 -platform_version macos 10.15 11.0 -syslibroot /mnt/vss/_work/1/s/llvm-project/lld/test/MachO/Inputs/MacOSX.sdk -fatal_warnings -lSystem test.o foo.o no-debug.o -oso_prefix "/mnt/vss/_work/1/b/llvm/Release/tools/lld/test/MachO/Output/stabs.s.tmp" -o /mnt/vss/_work/1/b/llvm/Release/tools/lld/test/MachO/Output/stabs.s.tmp/test-rel
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzdlt9v4jgQx_-a8GIROb-TBx5oC7qVtteqIN29RU7igA_Hjmynhf3rb5xA2bD01FuxL0sLcexk5jNfj8cuZHWYPX9dzFcLpLuiYQYRVHQbpGgrlUFGoq0xrXaCueMv4X_DzLYr3FI2cMP56-kybZX8h5YGbpnWHdXQQERUiImSdxVFZktRqYjeooKUO6NISV0HPzh4jhw_wAjv8enjxTTOcIB68-A4mOuDHhrPigmzMmBhbS04fnp-SJG3XGqjKAGo2PHvwTfwZGA_BZrG3ixftSXL36TawdWDb3EO5IVySjS1nUz03ZXj3-H9EQhsnYm9C-Iw9uk14pdOrNhGEP4HqMGp0j3NbaCszxGUfykjrWs0cg9uj6oM3dot2xYwcf99NxQcDSV1EqVFXJZBiVGeK6qNVDSHzBj4ObOk-zTO43DKmej2043ohoHWbGEuKldLFw_EIVgZ8YYj3oxGUZUg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