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

    <tr>
        <th>Summary</th>
        <td>
            LLVM Xcode6.1 compile crash
        </td>
    </tr>

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

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

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

<pre>
    On mac use swift-project compile:
Steps:
step 1.
git clone https://github.com/apple/swift.git swift
cd swift
utils/update-checkout --tag swift-6.0.2-RELEASE --clone
step 2.
utils/build-script --xcode --debug --skip-build-benchmarks --swift-darwin-supported-archs "$(uname -m)" --sccache  --skip-ios --skip-tvos --skip-watchos --libswift=off
step3
use xcode6.1 compile then error occurs
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: /Users/ranjingfu/Desktop/swift-project/build/Xcode-DebugAssert/llvm-macosx-x86_64/Debug/bin/llvm-tblgen -gen-instr-info -instr-info-expand-mi-operand-info=0 -I /Users/ranjingfu/Desktop/swift-project/llvm-project/llvm/lib/Target/X86 -I/Users/ranjingfu/Desktop/swift-project/build/Xcode-DebugAssert/llvm-macosx-x86_64/include -I/Users/ranjingfu/Desktop/swift-project/llvm-project/llvm/include -I /Users/ranjingfu/Desktop/swift-project/llvm-project/llvm/lib/Target /Users/ranjingfu/Desktop/swift-project/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o /Users/ranjingfu/Desktop/swift-project/build/Xcode-DebugAssert/llvm-macosx-x86_64/lib/Target/X86/X86GenInstrInfo.inc
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 llvm-tblgen              0x0000000100622b4d llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 61
1  llvm-tblgen 0x00000001006230bb PrintStackTraceSignalHandler(void*) + 27
2 llvm-tblgen              0x0000000100620d46 llvm::sys::RunSignalHandlers() + 134
3  llvm-tblgen              0x0000000100623a7f SignalHandler(int) + 223
4  libsystem_platform.dylib 0x00007ff808ec2e9d _sigtramp + 29
5 llvm-tblgen              0x00000001007a426f
6  libsystem_c.dylib 0x00007ff808daeb19 abort + 126
7  llvm-tblgen 0x00000001001fcea2 void std::__1::__check_strict_weak_ordering_sorted[abi:dn180100]<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0>(std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*, std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0&) + 610
8  llvm-tblgen              0x00000001001fcb9d void std::__1::__sort_impl[abi:dn180100]<std::__1::_ClassicAlgPolicy, std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0>(std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*>, std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0&) + 157
9  llvm-tblgen              0x00000001001fcaf9 void std::__1::sort[abi:dn180100]<std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0>(std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*>, std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0) + 57
10 llvm-tblgen              0x00000001001fca4d void llvm::sort<std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0>(std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*>, std::__1::__wrap_iter<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>*>, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0) + 77
11 llvm-tblgen              0x00000001001f91f3 void llvm::sort<std::__1::vector<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>, std::__1::allocator<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>>>&, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0>(std::__1::vector<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>, std::__1::allocator<std::__1::pair<llvm::Record const*, llvm::OpcodeInfo>>>&, processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&)::$_0) + 83
12 llvm-tblgen              0x00000001001ed3ae processSTIPredicate(llvm::STIPredicateFunction&, llvm::DenseMap<llvm::Record const*, unsigned int, llvm::DenseMapInfo<llvm::Record const*, void>, llvm::detail::DenseMapPair<llvm::Record const*, unsigned int>> const&) + 2558
13 llvm-tblgen              0x00000001001eb96a llvm::CodeGenSchedModels::collectSTIPredicates() + 634
14 llvm-tblgen 0x00000001001e6514 llvm::CodeGenSchedModels::CodeGenSchedModels(llvm::RecordKeeper&, llvm::CodeGenTarget const&) + 644
15 llvm-tblgen 0x00000001001ebf95 llvm::CodeGenSchedModels::CodeGenSchedModels(llvm::RecordKeeper&, llvm::CodeGenTarget const&) + 37
16 llvm-tblgen 0x000000010022cf3d std::__1::__unique_if<llvm::CodeGenSchedModels>::__unique_single std::__1::make_unique[abi:dn180100]<llvm::CodeGenSchedModels, llvm::RecordKeeper&, llvm::CodeGenTarget const&>(llvm::RecordKeeper&, llvm::CodeGenTarget const&) + 61
17 llvm-tblgen 0x000000010022ce98 llvm::CodeGenTarget::getSchedModels() const + 56
18 llvm-tblgen              0x000000010042dcf9 (anonymous namespace)::InstrInfoEmitter::InstrInfoEmitter(llvm::RecordKeeper&) + 121
19 llvm-tblgen              0x000000010042c47d (anonymous namespace)::InstrInfoEmitter::InstrInfoEmitter(llvm::RecordKeeper&) + 29
20 llvm-tblgen              0x000000010042c3c5 EmitInstrInfo(llvm::RecordKeeper&, llvm::raw_ostream&) + 117
21 llvm-tblgen 0x00000001006bf17a llvm::TableGenMain(char const*, std::__1::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) + 1066
22 llvm-tblgen              0x00000001004fde51 main + 225
23 dyld 0x00007ff808b002cd start + 1805


</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzsWl1v2zgW_TX0CyGDomRZfvCDm8QzwSZo0GQH3X0xKPJK5kQitSSVj_31C1JyY6d26u1s2gJro2hZftx7ee7hoUSKWSsrBTBHkw9ocj5inVtrM2eU0EmcxMmo0OJ5_lHhhnHcWcD2UZYuao3-E7jDXDetrAElC0QWtw5a2xetgxbHY0QWlXSY11oBXjvXN9MlostKunVXjLluEF2ytq0B0WUwPvZDQgmRBRdfip2TtUV02bWCOYj4Gvi97hyOIseqIa5sTMY0-nRxdbG4vcBRFDxv4qHjLStFJ2sRWW5k6008cS0AR5GAoqtwFNl72UZ9nwIUXzfM3FtfH9wIZh6limzXtto4EBEzfG0xohTRFNG8U6wBHDWIzhClfhjnjK8BbyxLbTdF9_BSfmSOr8N_a1n0807OdVkOM0h8_BZwCDYbxxv4sVuDwmCMNlhz3hmLyOKmx8B2RSMdZtjPy4CPFzv9VjLq-mHzzybPiC6ltR144DBTAkvF604Ex5gbZte4YPzeGcZhHJjA-D0WXdP2dCBjRGY3RleGNZiZqmtAOe8eI7r8uwXjDRum_pSqKjtEl-dg751uN5TYiiPkBNHlZ49BdO7TtbAWjNuE3DCu7VP0lGerLA2miq7yA6XadHFFXYHCUQUqkso6E0lVarxVjuCpZUpEjYx0C8YXfTVKzgmOLv_7qF-BuYFYFogu75ipwNd-zjMcXb4_IpvkfYev_fN4MfgeyLwf2v3fYydwFD0a6SCSZcTXTFUgcKR_ADkPxfQbqEtPxktV6rFUfGdN4Ufp1l757HNT6Bp7sfHik4OynQH8rDu8Zg-Ag8u-k_w3GCyVbzP4ZnH3O9YGW3BhBYN6kEYrvyjxAzMYZeTq6o_r1e0_rj98vLr858WnlR-CMuKlo9VSBQ2Rzutbv8Dx9sLa-ZEn0v9iQjJKi1SEvn5csrDPti_cGKlcmOKdFxFE85dOhj2utHUGWINohugZlsq7xoh-wFmMyCLGO_53XSakKPAr-7eyUqz-nSlRg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