ninja: Entering directory `out/gn' [1/1] Regenerating ninja files [1/3869] ACTION //lldb/test:lit_unit_site_cfg(//llvm/utils/gn/build/toolchain:win) FAILED: gen/lldb/test/Unit/lit.site.cfg.py python3 ../../llvm/utils/gn/build/write_cmake_config.py -o gen/lldb/test/Unit/lit.site.cfg.py ../../lldb/test/Unit/lit.site.cfg.py.in "LIT_SITE_CFG_IN_HEADER=## Autogenerated from //lldb/test/Unit/lit.site.cfg.py.in, do not edit" LLDB_BINARY_DIR=C:/src/llvm-project/out/gn/obj/lldb LLDB_SOURCE_DIR=C:/src/llvm-project/lldb LLVM_BINARY_DIR=C:/src/llvm-project/out/gn/obj/llvm LLVM_LIBS_DIR= LLVM_LIT_TOOLS_DIR= LLVM_SOURCE_DIR=C:/src/llvm-project/llvm LLVM_TOOLS_DIR=C:/src/llvm-project/out/gn/bin Python3_EXECUTABLE=python3 LLVM_TARGET_TRIPLE=x86_64-pc-windows-msvc LLVM_BUILD_MODE=. Traceback (most recent call last): File "C:\src\llvm-project\llvm\utils\gn\build\write_cmake_config.py", line 122, in sys.exit(main()) File "C:\src\llvm-project\llvm\utils\gn\build\write_cmake_config.py", line 72, in main in_line = var_re.sub(repl, in_line) File "C:\src\llvm-project\llvm\utils\gn\build\write_cmake_config.py", line 70, in repl return values[key] KeyError: 'LLVM_USE_SANITIZER' [2/3869] STAMP obj/llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyGenAsmMatcher.stamp [3/3869] STAMP obj/llvm/lib/Target/WebAssembly/WebAssemblyGenDAGISel.stamp [4/3869] STAMP obj/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyGenAsmWriter.stamp [5/3869] STAMP obj/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyGenMCCodeEmitter.stamp [6/3869] STAMP obj/llvm/lib/Target/WebAssembly/TargetInfo/WebAssemblyGenInstrInfo.stamp [7/3869] STAMP obj/llvm/lib/Target/X86/X86GenDAGISel.stamp [8/3869] ACTION //llvm/lib/Target/Mips:MipsGenCallingConv(//llvm/utils/gn/build/toolchain:win) [9/3868] ACTION //llvm/lib/Target/Mips:MipsGenMCPseudoLowering(//llvm/utils/gn/build/toolchain:win) [10/3867] ACTION //llvm/lib/Target/Mips:MipsGenPostLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [11/3866] ACTION //llvm/lib/Target/Mips/MCTargetDesc:MipsGenRegisterInfo(//llvm/utils/gn/build/toolchain:win) [12/3865] ACTION //llvm/lib/Target/Mips:MipsGenRegisterBank(//llvm/utils/gn/build/toolchain:win) [13/3864] CXX obj/llvm/lib/DebugInfo/BTF/BTF.BTFContext.obj [14/3864] ACTION //llvm/lib/Target/Mips/Disassembler:MipsGenDisassemblerTables(//llvm/utils/gn/build/toolchain:win) [15/3863] ACTION //llvm/lib/Target/Mips/MCTargetDesc:MipsGenAsmWriter(//llvm/utils/gn/build/toolchain:win) [16/3862] ACTION //llvm/lib/Target/Mips/AsmParser:MipsGenAsmMatcher(//llvm/utils/gn/build/toolchain:win) [17/3861] ACTION //llvm/lib/Target/Mips/MCTargetDesc:MipsGenMCCodeEmitter(//llvm/utils/gn/build/toolchain:win) [18/3860] ACTION //llvm/lib/Target/AArch64:AArch64GenCallingConv(//llvm/utils/gn/build/toolchain:win) [19/3859] ACTION //llvm/include/llvm/TargetParser:AArch64TargetParserDef(//llvm/utils/gn/build/toolchain:win) [20/3640] ACTION //llvm/lib/Target/AArch64:AArch64GenMCPseudoLowering(//llvm/utils/gn/build/toolchain:win) [21/3639] ACTION //llvm/lib/Target/Mips:MipsGenFastISel(//llvm/utils/gn/build/toolchain:win) [22/3638] ACTION //llvm/lib/Target/Mips/MCTargetDesc:MipsGenSubtargetInfo(//llvm/utils/gn/build/toolchain:win) [23/3637] ACTION //llvm/lib/Target/Mips:MipsGenGlobalISel(//llvm/utils/gn/build/toolchain:win) [24/3636] ACTION //llvm/lib/Target/AArch64/Utils:AArch64GenSystemOperands(//llvm/utils/gn/build/toolchain:win) [25/3635] ACTION //llvm/lib/Target/Mips:MipsGenDAGISel(//llvm/utils/gn/build/toolchain:win) [26/3634] ACTION //llvm/lib/Target/AArch64:AArch64GenO0PreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [27/3633] ACTION //llvm/lib/Target/AArch64:AArch64GenPreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [28/3633] ACTION //llvm/lib/Target/AArch64:AArch64GenPostLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [29/3632] ACTION //llvm/lib/Target/AArch64:AArch64GenPostLegalizeGILowering(//llvm/utils/gn/build/toolchain:win) [30/3631] ACTION //llvm/lib/Target/AArch64/MCTargetDesc:AArch64GenMCCodeEmitter(//llvm/utils/gn/build/toolchain:win) [31/3630] ACTION //llvm/lib/Target/AArch64/Disassembler:AArch64GenDisassemblerTables(//llvm/utils/gn/build/toolchain:win) [32/3629] ACTION //llvm/lib/Target/Mips/MCTargetDesc:MipsGenInstrInfo(//llvm/utils/gn/build/toolchain:win) [33/3599] ACTION //llvm/lib/Target/AArch64/MCTargetDesc:AArch64GenAsmWriter1(//llvm/utils/gn/build/toolchain:win) [34/3598] ACTION //llvm/lib/Target/AArch64/MCTargetDesc:AArch64GenAsmWriter(//llvm/utils/gn/build/toolchain:win) [35/3597] ACTION //llvm/lib/Target/AArch64:AArch64GenRegisterBank(//llvm/utils/gn/build/toolchain:win) [36/3596] ACTION //llvm/lib/Target/AArch64/MCTargetDesc:AArch64GenRegisterInfo(//llvm/utils/gn/build/toolchain:win) [37/3595] ACTION //llvm/lib/Target/AArch64/AsmParser:AArch64GenAsmMatcher(//llvm/utils/gn/build/toolchain:win) [38/3594] ACTION //llvm/lib/Target/AArch64:AArch64GenFastISel(//llvm/utils/gn/build/toolchain:win) [39/3593] ACTION //llvm/lib/Target/RISCV:RISCVGenO0PreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [40/3592] ACTION //llvm/lib/Target/RISCV:RISCVGenPreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [41/3592] ACTION //llvm/lib/Target/RISCV:RISCVGenPostLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [42/3591] ACTION //llvm/lib/Target/AArch64:AArch64GenGlobalISel(//llvm/utils/gn/build/toolchain:win) [43/3590] ACTION //llvm/lib/Target/AArch64:AArch64GenDAGISel(//llvm/utils/gn/build/toolchain:win) [44/3589] ACTION //llvm/lib/Target/AArch64/MCTargetDesc:AArch64GenSubtargetInfo(//llvm/utils/gn/build/toolchain:win) [45/3588] ACTION //llvm/lib/Target/AArch64/MCTargetDesc:AArch64GenInstrInfo(//llvm/utils/gn/build/toolchain:win) [46/3542] ACTION //llvm/lib/Target/RISCV:RISCVGenGlobalISel(//llvm/utils/gn/build/toolchain:win) [47/3540] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenPreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [48/3540] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenPostLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [49/3540] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenRegBankGICombiner(//llvm/utils/gn/build/toolchain:win) [50/3539] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenGlobalISel(//llvm/utils/gn/build/toolchain:win) ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.