Issue |
131614
|
Summary |
[Clang][MacOS] llvm-tblgen crash, When build clang project
|
Labels |
clang
|
Assignees |
|
Reporter |
jiangxinhaha
|
-DCMAKE_BUILD_TYPE=Debug, on branch llvmorg-16.0.0
Stack dump:
0. Program arguments: /Users/tom/project/stdc++/llvm-project/build/Debug/bin/llvm-tblgen -gen-instr-info -instr-info-expand-mi-operand-info=0 -I /Users/tom/project/stdc++/llvm-project/llvm/lib/Target/X86 -I/Users/tom/project/stdc++/llvm-project/build/include -I/Users/tom/project/stdc++/llvm-project/llvm/include -I /Users/tom/project/stdc++/llvm-project/llvm/lib/Target /Users/tom/project/stdc++/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o /Users/tom/project/stdc++/llvm-project/build/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 0x0000000100f73e30 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 80
1 llvm-tblgen 0x0000000100f743cc PrintStackTraceSignalHandler(void*) + 28
2 llvm-tblgen 0x0000000100f72138 llvm::sys::RunSignalHandlers() + 152
3 llvm-tblgen 0x0000000100f74e74 SignalHandler(int) + 276
4 libsystem_platform.dylib 0x00000001808dede4 _sigtramp + 56
5 libsystem_pthread.dylib 0x00000001808a7f70 pthread_kill + 288
6 libsystem_c.dylib 0x00000001807b4908 abort + 128
7 llvm-tblgen 0x0000000100b3390c 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&) + 648
8 llvm-tblgen 0x0000000100b335d4 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&) + 156
9 llvm-tblgen 0x0000000100b3352c 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) + 64
10 llvm-tblgen 0x0000000100b33488 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) + 72
11 llvm-tblgen 0x0000000100b2f820 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) + 76
12 llvm-tblgen 0x0000000100b243dc 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&) + 1980
13 llvm-tblgen 0x0000000100b22ca8 llvm::CodeGenSchedModels::collectSTIPredicates() + 520
14 llvm-tblgen 0x0000000100b1ea14 llvm::CodeGenSchedModels::CodeGenSchedModels(llvm::RecordKeeper&, llvm::CodeGenTarget const&) + 584
15 llvm-tblgen 0x0000000100b231f4 llvm::CodeGenSchedModels::CodeGenSchedModels(llvm::RecordKeeper&, llvm::CodeGenTarget const&) + 44
16 llvm-tblgen 0x0000000100b65e18 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&) + 52
17 llvm-tblgen 0x0000000100b65d7c llvm::CodeGenTarget::getSchedModels() const + 60
18 llvm-tblgen 0x0000000100d76efc (anonymous namespace)::InstrInfoEmitter::InstrInfoEmitter(llvm::RecordKeeper&) + 120
19 llvm-tblgen 0x0000000100d75ad8 (anonymous namespace)::InstrInfoEmitter::InstrInfoEmitter(llvm::RecordKeeper&) + 36
20 llvm-tblgen 0x0000000100d75a38 EmitInstrInfo(llvm::RecordKeeper&, llvm::raw_ostream&) + 96
21 llvm-tblgen 0x000000010101373c llvm::TableGenMain(char const*, std::__1::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) + 836
22 llvm-tblgen 0x0000000100e47dd8 main + 196
23 dyld 0x0000000180528274 start + 2840
/Users/tom/project/stdc++/llvm-project/build/build/LLVM.build/Debug/X86CommonTableGen.build/Script-A26243439BDAA0F9B56754A6.sh: line 6: 20309 Abort trap: 6 /Users/tom/project/stdc++/llvm-project/build/Debug/bin/llvm-tblgen -gen-instr-info -instr-info-expand-mi-operand-info=0 -I /Users/tom/project/stdc++/llvm-project/llvm/lib/Target/X86 -I/Users/tom/project/stdc++/llvm-project/build/include -I/Users/tom/project/stdc++/llvm-project/llvm/include -I /Users/tom/project/stdc++/llvm-project/llvm/lib/Target /Users/tom/project/stdc++/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o /Users/tom/project/stdc++/llvm-project/build/lib/Target/X86/X86GenInstrInfo.inc
Command PhaseScriptExecution failed with a nonzero exit code
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs