Ошибка во время попытки собрать проход llvm
Собирал LLVM с помощью этой команды: cmake ../llvm -DLLVM_ENABLE_PROJECTS=clang -DLLVM_BUILD_EXAMPLES=ON -DLLVM_TARGETS_TO_BUILD="host" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_RTTI=ON -G "Ninja", перед этим запустив вот этот батник: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat", во время сборки вроде все было нормально.
После этого я проделал все шаги, описанные здесь: https://github.com/geexie/llvm-project/pull/136/files , потом попытался собрать проход командой ninja (перед этим запустив тот же батник) и получил следующие ошибки сборки:
[1/406] Building X86GenSubtargetInfo.inc...
FAILED: lib/Target/X86/X86GenSubtargetInfo.inc C:/git/llvm/llvm-project/build/lib/Target/X86/X86GenSubtargetInfo.inc
cmd.exe /C "cd /D C:\git\llvm\llvm-project\build && C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe -gen-subtarget -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenSubtargetInfo.inc -d lib/Target/X86/X86GenSubtargetInfo.inc.d"
Assertion failed: InstrsByEnum.size() == Insts.size() && "Missing predefined instr", file C:\git\llvm\llvm-project\llvm\utils\TableGen\CodeGenTarget.cpp, line 506
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\git\\llvm\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-subtarget -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenSubtargetInfo.inc -d lib/Target/X86/X86GenSubtargetInfo.inc.d
#0 0x00007ff6f4d60de5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x250de5)
#1 0x00007fff65d11881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007fff65d12851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007fff65d141b5 (C:\Windows\System32\ucrtbase.dll+0x741b5)
#4 0x00007fff65d144f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#5 0x00007ff6f4bed2d6 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xdd2d6)
#6 0x00007ff6f4bd1f35 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xc1f35)
#7 0x00007ff6f4bc6996 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xb6996)
#8 0x00007ff6f4bf07f3 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xe07f3)
#9 0x00007ff6f4d0bb7b (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x1fbb7b)
#10 0x00007ff6f4d1a702 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20a702)
#11 0x00007ff6f4da89d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2989d2)
#12 0x00007ff6f4d1b05c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20b05c)
#13 0x00007ff6f4ddbac4 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2cbac4)
#14 0x00007fff669b7034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#15 0x00007fff681c2651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
И еще 9 похожих ошибок с другими файлами:
[2/406] Building X86GenSubtargetInfo.inc...
FAILED: lib/Target/X86/X86GenSubtargetInfo.inc C:/git/llvm/llvm-project/build/lib/Target/X86/X86GenSubtargetInfo.inc
cmd.exe /C "cd /D C:\git\llvm\llvm-project\build && C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe -gen-subtarget -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenSubtargetInfo.inc -d lib/Target/X86/X86GenSubtargetInfo.inc.d"
Assertion failed: InstrsByEnum.size() == Insts.size() && "Missing predefined instr", file C:\git\llvm\llvm-project\llvm\utils\TableGen\CodeGenTarget.cpp, line 506
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\git\\llvm\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-subtarget -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenSubtargetInfo.inc -d lib/Target/X86/X86GenSubtargetInfo.inc.d
#0 0x00007ff6304d0de5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x250de5)
#1 0x00007ff9c9ac1881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007ff9c9ac2851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007ff9c9ac41b5 (C:\Windows\System32\ucrtbase.dll+0x741b5)
#4 0x00007ff9c9ac44f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#5 0x00007ff63035d2d6 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xdd2d6)
#6 0x00007ff630341f35 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xc1f35)
#7 0x00007ff630336996 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xb6996)
#8 0x00007ff6303607f3 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xe07f3)
#9 0x00007ff63047bb7b (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x1fbb7b)
#10 0x00007ff63048a702 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20a702)
#11 0x00007ff6305189d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2989d2)
#12 0x00007ff63048b05c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20b05c)
#13 0x00007ff63054bac4 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2cbac4)
#14 0x00007ff9cb247034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#15 0x00007ff9cbb42651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
[3/406] Building X86GenEVEX2VEXTables.inc...
FAILED: lib/Target/X86/X86GenEVEX2VEXTables.inc C:/git/llvm/llvm-project/build/lib/Target/X86/X86GenEVEX2VEXTables.inc
cmd.exe /C "cd /D C:\git\llvm\llvm-project\build && C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe -gen-x86-EVEX2VEX-tables -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenEVEX2VEXTables.inc -d lib/Target/X86/X86GenEVEX2VEXTables.inc.d"
Assertion failed: InstrsByEnum.size() == Insts.size() && "Missing predefined instr", file C:\git\llvm\llvm-project\llvm\utils\TableGen\CodeGenTarget.cpp, line 506
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\git\\llvm\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-x86-EVEX2VEX-tables -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenEVEX2VEXTables.inc -d lib/Target/X86/X86GenEVEX2VEXTables.inc.d
#0 0x00007ff6304d0de5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x250de5)
#1 0x00007ff9c9ac1881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007ff9c9ac2851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007ff9c9ac41b5 (C:\Windows\System32\ucrtbase.dll+0x741b5)
#4 0x00007ff9c9ac44f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#5 0x00007ff63035d2d6 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xdd2d6)
#6 0x00007ff630493f78 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x213f78)
#7 0x00007ff630493089 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x213089)
#8 0x00007ff63048ad15 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20ad15)
#9 0x00007ff6305189d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2989d2)
#10 0x00007ff63048b05c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20b05c)
#11 0x00007ff63054bac4 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2cbac4)
#12 0x00007ff9cb247034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#13 0x00007ff9cbb42651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
[4/406] Building X86GenAsmWriter.inc...
FAILED: lib/Target/X86/X86GenAsmWriter.inc C:/git/llvm/llvm-project/build/lib/Target/X86/X86GenAsmWriter.inc
cmd.exe /C "cd /D C:\git\llvm\llvm-project\build && C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe -gen-asm-writer -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenAsmWriter.inc -d lib/Target/X86/X86GenAsmWriter.inc.d"
Assertion failed: InstrsByEnum.size() == Insts.size() && "Missing predefined instr", file C:\git\llvm\llvm-project\llvm\utils\TableGen\CodeGenTarget.cpp, line 506
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\git\\llvm\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-asm-writer -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenAsmWriter.inc -d lib/Target/X86/X86GenAsmWriter.inc.d
#0 0x00007ff6304d0de5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x250de5)
#1 0x00007ff9c9ac1881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007ff9c9ac2851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007ff9c9ac41b5 (C:\Windows\System32\ucrtbase.dll+0x741b5)
#4 0x00007ff9c9ac44f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#5 0x00007ff63035d2d6 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xdd2d6)
#6 0x00007ff6302b403c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x3403c)
#7 0x00007ff6302b576c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x3576c)
#8 0x00007ff63048a682 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20a682)
#9 0x00007ff6305189d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2989d2)
#10 0x00007ff63048b05c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20b05c)
#11 0x00007ff63054bac4 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2cbac4)
#12 0x00007ff9cb247034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#13 0x00007ff9cbb42651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
[5/406] Building X86GenAsmWriter1.inc...
FAILED: lib/Target/X86/X86GenAsmWriter1.inc C:/git/llvm/llvm-project/build/lib/Target/X86/X86GenAsmWriter1.inc
cmd.exe /C "cd /D C:\git\llvm\llvm-project\build && C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe -gen-asm-writer -asmwriternum=1 -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenAsmWriter1.inc -d lib/Target/X86/X86GenAsmWriter1.inc.d"
Assertion failed: InstrsByEnum.size() == Insts.size() && "Missing predefined instr", file C:\git\llvm\llvm-project\llvm\utils\TableGen\CodeGenTarget.cpp, line 506
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\git\\llvm\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-asm-writer -asmwriternum=1 -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenAsmWriter1.inc -d lib/Target/X86/X86GenAsmWriter1.inc.d
#0 0x00007ff6304d0de5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x250de5)
#1 0x00007ff9c9ac1881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007ff9c9ac2851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007ff9c9ac41b5 (C:\Windows\System32\ucrtbase.dll+0x741b5)
#4 0x00007ff9c9ac44f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#5 0x00007ff63035d2d6 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xdd2d6)
#6 0x00007ff6302b403c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x3403c)
#7 0x00007ff6302b576c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x3576c)
#8 0x00007ff63048a682 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20a682)
#9 0x00007ff6305189d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2989d2)
#10 0x00007ff63048b05c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20b05c)
#11 0x00007ff63054bac4 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2cbac4)
#12 0x00007ff9cb247034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#13 0x00007ff9cbb42651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
[6/406] Building X86GenDisassemblerTables.inc...
FAILED: lib/Target/X86/X86GenDisassemblerTables.inc C:/git/llvm/llvm-project/build/lib/Target/X86/X86GenDisassemblerTables.inc
cmd.exe /C "cd /D C:\git\llvm\llvm-project\build && C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe -gen-disassembler -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenDisassemblerTables.inc -d lib/Target/X86/X86GenDisassemblerTables.inc.d"
Assertion failed: InstrsByEnum.size() == Insts.size() && "Missing predefined instr", file C:\git\llvm\llvm-project\llvm\utils\TableGen\CodeGenTarget.cpp, line 506
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\git\\llvm\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-disassembler -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenDisassemblerTables.inc -d lib/Target/X86/X86GenDisassemblerTables.inc.d
#0 0x00007ff6304d0de5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x250de5)
#1 0x00007ff9c9ac1881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007ff9c9ac2851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007ff9c9ac41b5 (C:\Windows\System32\ucrtbase.dll+0x741b5)
#4 0x00007ff9c9ac44f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#5 0x00007ff63035d2d6 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xdd2d6)
#6 0x00007ff63039a30c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x11a30c)
#7 0x00007ff63048a6a2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20a6a2)
#8 0x00007ff6305189d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2989d2)
#9 0x00007ff63048b05c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20b05c)
#10 0x00007ff63054bac4 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2cbac4)
#11 0x00007ff9cb247034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#12 0x00007ff9cbb42651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
[7/406] Building X86GenInstrInfo.inc...
FAILED: lib/Target/X86/X86GenInstrInfo.inc C:/git/llvm/llvm-project/build/lib/Target/X86/X86GenInstrInfo.inc
cmd.exe /C "cd /D C:\git\llvm\llvm-project\build && C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe -gen-instr-info -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenInstrInfo.inc -d lib/Target/X86/X86GenInstrInfo.inc.d"
Assertion failed: InstrsByEnum.size() == Insts.size() && "Missing predefined instr", file C:\git\llvm\llvm-project\llvm\utils\TableGen\CodeGenTarget.cpp, line 506
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\git\\llvm\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-instr-info -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenInstrInfo.inc -d lib/Target/X86/X86GenInstrInfo.inc.d
#0 0x00007ff6304d0de5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x250de5)
#1 0x00007ff9c9ac1881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007ff9c9ac2851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007ff9c9ac41b5 (C:\Windows\System32\ucrtbase.dll+0x741b5)
#4 0x00007ff9c9ac44f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#5 0x00007ff63035d2d6 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xdd2d6)
#6 0x00007ff6302ebcb5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x6bcb5)
#7 0x00007ff6302da58e (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x5a58e)
#8 0x00007ff6304128af (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x1928af)
#9 0x00007ff63048a652 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20a652)
#10 0x00007ff6305189d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2989d2)
#11 0x00007ff63048b05c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20b05c)
#12 0x00007ff63054bac4 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2cbac4)
#13 0x00007ff9cb247034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#14 0x00007ff9cbb42651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
[8/406] Building X86GenFastISel.inc...
FAILED: lib/Target/X86/X86GenFastISel.inc C:/git/llvm/llvm-project/build/lib/Target/X86/X86GenFastISel.inc
cmd.exe /C "cd /D C:\git\llvm\llvm-project\build && C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe -gen-fast-isel -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenFastISel.inc -d lib/Target/X86/X86GenFastISel.inc.d"
Assertion failed: InstrsByEnum.size() == Insts.size() && "Missing predefined instr", file C:\git\llvm\llvm-project\llvm\utils\TableGen\CodeGenTarget.cpp, line 506
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\git\\llvm\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-fast-isel -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenFastISel.inc -d lib/Target/X86/X86GenFastISel.inc.d
#0 0x00007ff6304d0de5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x250de5)
#1 0x00007ff9c9ac1881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007ff9c9ac2851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007ff9c9ac41b5 (C:\Windows\System32\ucrtbase.dll+0x741b5)
#4 0x00007ff9c9ac44f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#5 0x00007ff63035d2d6 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xdd2d6)
#6 0x00007ff6302ebcb5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x6bcb5)
#7 0x00007ff6302da58e (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x5a58e)
#8 0x00007ff6303a165f (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x12165f)
#9 0x00007ff63048a6f2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20a6f2)
#10 0x00007ff6305189d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2989d2)
#11 0x00007ff63048b05c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20b05c)
#12 0x00007ff63054bac4 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2cbac4)
#13 0x00007ff9cb247034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#14 0x00007ff9cbb42651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
[9/406] Building X86GenGlobalISel.inc...
FAILED: lib/Target/X86/X86GenGlobalISel.inc C:/git/llvm/llvm-project/build/lib/Target/X86/X86GenGlobalISel.inc
cmd.exe /C "cd /D C:\git\llvm\llvm-project\build && C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe -gen-global-isel -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenGlobalISel.inc -d lib/Target/X86/X86GenGlobalISel.inc.d"
Assertion failed: InstrsByEnum.size() == Insts.size() && "Missing predefined instr", file C:\git\llvm\llvm-project\llvm\utils\TableGen\CodeGenTarget.cpp, line 506
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\git\\llvm\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-global-isel -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenGlobalISel.inc -d lib/Target/X86/X86GenGlobalISel.inc.d
#0 0x00007ff6304d0de5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x250de5)
#1 0x00007ff9c9ac1881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007ff9c9ac2851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007ff9c9ac41b5 (C:\Windows\System32\ucrtbase.dll+0x741b5)
#4 0x00007ff9c9ac44f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#5 0x00007ff63035d2d6 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xdd2d6)
#6 0x00007ff6302ebcb5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x6bcb5)
#7 0x00007ff6302da58e (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x5a58e)
#8 0x00007ff6303dfc4c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x15fc4c)
#9 0x00007ff63048acee (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20acee)
#10 0x00007ff6305189d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2989d2)
#11 0x00007ff63048b05c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20b05c)
#12 0x00007ff63054bac4 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2cbac4)
#13 0x00007ff9cb247034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#14 0x00007ff9cbb42651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
[10/406] Building X86GenDAGISel.inc...
FAILED: lib/Target/X86/X86GenDAGISel.inc C:/git/llvm/llvm-project/build/lib/Target/X86/X86GenDAGISel.inc
cmd.exe /C "cd /D C:\git\llvm\llvm-project\build && C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe -gen-dag-isel -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target -omit-comments --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenDAGISel.inc -d lib/Target/X86/X86GenDAGISel.inc.d"
Assertion failed: InstrsByEnum.size() == Insts.size() && "Missing predefined instr", file C:\git\llvm\llvm-project\llvm\utils\TableGen\CodeGenTarget.cpp, line 506
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
Stack dump:
0. Program arguments: C:\\git\\llvm\\llvm-project\\build\\bin\\llvm-tblgen.exe -gen-dag-isel -I C:/git/llvm/llvm-project/llvm/lib/Target/X86 -IC:/git/llvm/llvm-project/build/include -IC:/git/llvm/llvm-project/llvm/include -I C:/git/llvm/llvm-project/llvm/lib/Target -omit-comments --long-string-literals=0 C:/git/llvm/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenDAGISel.inc -d lib/Target/X86/X86GenDAGISel.inc.d
#0 0x00007ff6304d0de5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x250de5)
#1 0x00007ff9c9ac1881 (C:\Windows\System32\ucrtbase.dll+0x71881)
#2 0x00007ff9c9ac2851 (C:\Windows\System32\ucrtbase.dll+0x72851)
#3 0x00007ff9c9ac41b5 (C:\Windows\System32\ucrtbase.dll+0x741b5)
#4 0x00007ff9c9ac44f1 (C:\Windows\System32\ucrtbase.dll+0x744f1)
#5 0x00007ff63035d2d6 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xdd2d6)
#6 0x00007ff6302ebcb5 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x6bcb5)
#7 0x00007ff6302da58e (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x5a58e)
#8 0x00007ff63036475f (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0xe475f)
#9 0x00007ff63048a6d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20a6d2)
#10 0x00007ff6305189d2 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2989d2)
#11 0x00007ff63048b05c (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x20b05c)
#12 0x00007ff63054bac4 (C:\git\llvm\llvm-project\build\bin\llvm-tblgen.exe+0x2cbac4)
#13 0x00007ff9cb247034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
#14 0x00007ff9cbb42651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
ninja: build stopped: subcommand failed.