INFO:2024-11-06T20:20:53Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 375d1925dbd0..b57cbbcb6a6b main -> origin/main Your branch is behind 'origin/main' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) Switched to branch 'main' HEAD is now at b57cbbcb6a6b [RISCV][GISel] Improve fptos/ui and s/uitofp handling and testing. INFO:2024-11-06T20:21:15Z:root:syncing... Deleted branch merge (was 375d1925dbd0). Switched to a new branch 'merge' Branch 'merge' set up to track remote branch 'main' from 'origin'. INFO:2024-11-06T20:21:18Z:root:building ninja: Entering directory `out/gn' [1/3627] STAMP obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.inputdeps.stamp [2/3627] STAMP obj/llvm/lib/Target/AMDGPU/MCTargetDesc/MCTargetDesc.inputdeps.stamp [3/3627] STAMP obj/llvm/lib/Target/AMDGPU/MCTargetDesc/tablegen.stamp [4/3627] STAMP obj/llvm/lib/Target/AMDGPU/Utils/Utils.inputdeps.stamp [5/3627] STAMP obj/llvm/lib/Target/ARM/ARMGenDAGISel.stamp [6/3627] LINK obj/clang/unittests/Basic/BasicTests.exe FAILED: obj/clang/unittests/Basic/BasicTests.exe ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/lld-link /nologo /OPT:REF /OPT:ICF /STACK:10000000 /pdbaltpath:%_PDB% /Brepro /winsysroot:../../sysroot-3bda71a11e /machine:x64 /out:obj/clang/unittests/Basic/BasicTests.exe /pdb:obj/clang/unittests/Basic/BasicTests.pdb obj/clang/unittests/Basic/BasicTests.CharInfoTest.obj obj/clang/unittests/Basic/BasicTests.DarwinSDKInfoTest.obj obj/clang/unittests/Basic/BasicTests.DiagnosticTest.obj obj/clang/unittests/Basic/BasicTests.FileEntryTest.obj obj/clang/unittests/Basic/BasicTests.FileManagerTest.obj obj/clang/unittests/Basic/BasicTests.LineOffsetMappingTest.obj obj/clang/unittests/Basic/BasicTests.SanitizersTest.obj obj/clang/unittests/Basic/BasicTests.SarifTest.obj obj/clang/unittests/Basic/BasicTests.SourceManagerTest.obj obj/third-party/unittest/UnitTestMain/UnitTestMain.TestMain.obj lib/clangBasic.lib lib/clangLex.lib lib/LLVMSupport.lib lib/LLVMTestingSupport.lib lib/LLVMOption.lib lib/LLVMSupportBlake3.lib lib/LLVMDemangle.lib lib/LLVMTargetParser.lib lib/gtest.lib ntdll.lib ws2_32.lib delayimp.lib lld-link: error: undefined symbol: __declspec(dllimport) public: static class llvm::iterator_range::iterator> __cdecl llvm::Registry::entries(void) >>> referenced by clangLex.lib(Lex.Pragma.obj):(private: void __cdecl clang::Preprocessor::RegisterBuiltinPragmas(void)) lld-link: error: undefined symbol: __declspec(dllimport) public: static class llvm::iterator_range::iterator> __cdecl llvm::Registry::entries(void) >>> referenced by clangBasic.lib(Basic.ParsedAttrInfo.obj):(class std::list>, class std::allocator>>> const & __cdecl clang::getAttributePluginInstances(void)) [7/3627] LINK ./bin/clang-format.exe FAILED: bin/clang-format.exe ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/lld-link /nologo /OPT:REF /OPT:ICF /STACK:10000000 /pdbaltpath:%_PDB% /Brepro /winsysroot:../../sysroot-3bda71a11e /machine:x64 /out:./bin/clang-format.exe /pdb:./bin/clang-format.pdb obj/clang/tools/clang-format/clang-format.ClangFormat.obj lib/clangBasic.lib lib/clangFormat.lib lib/clangRewrite.lib lib/clangToolingCore.lib lib/LLVMSupport.lib lib/LLVMOption.lib lib/LLVMSupportBlake3.lib lib/LLVMDemangle.lib lib/LLVMTargetParser.lib lib/clangLex.lib lib/clangToolingInclusions.lib ntdll.lib ws2_32.lib delayimp.lib lld-link: error: undefined symbol: __declspec(dllimport) public: static class llvm::iterator_range::iterator> __cdecl llvm::Registry::entries(void) >>> referenced by clangLex.lib(Lex.Pragma.obj):(private: void __cdecl clang::Preprocessor::RegisterBuiltinPragmas(void)) lld-link: error: undefined symbol: __declspec(dllimport) public: static class llvm::iterator_range::iterator> __cdecl llvm::Registry::entries(void) >>> referenced by clangBasic.lib(Basic.ParsedAttrInfo.obj):(class std::list>, class std::allocator>>> const & __cdecl clang::getAttributePluginInstances(void)) [8/3627] 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' [9/3627] ACTION //llvm/lib/Target/AVR:AVRGenCallingConv(//llvm/utils/gn/build/toolchain:win) [10/3626] ACTION //llvm/lib/Target/AVR/Disassembler:AVRGenDisassemblerTables(//llvm/utils/gn/build/toolchain:win) [11/3625] ACTION //llvm/lib/Target/AVR/AsmParser:AVRGenAsmMatcher(//llvm/utils/gn/build/toolchain:win) [12/3624] ACTION //llvm/lib/Target/AVR:AVRGenDAGISel(//llvm/utils/gn/build/toolchain:win) [13/3623] CXX obj/llvm/lib/Target/AArch64/Utils/Utils.AArch64SMEAttributes.obj [14/3623] ACTION //llvm/lib/Target/ARM/Utils:ARMGenSystemRegister(//llvm/utils/gn/build/toolchain:win) [15/3622] ACTION //llvm/lib/Target/ARM/MCTargetDesc:ARMGenRegisterInfo(//llvm/utils/gn/build/toolchain:win) [16/3621] ACTION //llvm/lib/Target/ARM/MCTargetDesc:ARMGenMCCodeEmitter(//llvm/utils/gn/build/toolchain:win) [17/3620] ACTION //llvm/lib/Target/ARM/MCTargetDesc:ARMGenAsmWriter(//llvm/utils/gn/build/toolchain:win) [18/3619] ACTION //llvm/lib/Target/ARM/AsmParser:ARMGenAsmMatcher(//llvm/utils/gn/build/toolchain:win) [19/3619] ACTION //llvm/lib/Target/ARM/Disassembler:ARMGenDisassemblerTables(//llvm/utils/gn/build/toolchain:win) [20/3618] CXX obj/llvm/lib/Target/AArch64/Utils/Utils.AArch64BaseInfo.obj [21/3618] CXX obj/llvm/lib/Target/AArch64/MCTargetDesc/MCTargetDesc.AArch64WinCOFFObjectWriter.obj [22/3618] CXX obj/llvm/lib/Target/AArch64/MCTargetDesc/MCTargetDesc.AArch64ELFObjectWriter.obj [23/3618] CXX obj/llvm/lib/Target/AArch64/MCTargetDesc/MCTargetDesc.AArch64MCExpr.obj [24/3618] CXX obj/llvm/lib/Target/AArch64/Disassembler/Disassembler.AArch64ExternalSymbolizer.obj [25/3618] CXX obj/llvm/lib/Target/AArch64/MCTargetDesc/MCTargetDesc.AArch64MachObjectWriter.obj [26/3618] CXX obj/llvm/lib/IR/IR.Intrinsics.obj FAILED: obj/llvm/lib/IR/IR.Intrinsics.obj ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang-cl /nologo /showIncludes /Foobj/llvm/lib/IR/IR.Intrinsics.obj /c ../../llvm/lib/IR/Intrinsics.cpp -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_UNICODE -DUNICODE -I../../llvm/include -Igen/llvm/include -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR /O2 /Gw /Zc:inline /EHs-c- /W4 -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fmsc-version=1926 /Brepro -fdebug-compilation-dir=. /winsysroot../../sysroot-3bda71a11e -Wcovered-switch-default /std:c++17 /GR- In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(563,5): error: reference to 'memcpy' is ambiguous 563 | memcpy(reinterpret_cast(this->end()), EltPtr, sizeof(T)); | ^ ../../sysroot-3bda71a11e\VC\Tools\MSVC\14.26.28801\include\vcruntime_string.h(43,15): note: candidate found by name lookup is 'memcpy' 43 | void* __cdecl memcpy( | ^ gen/llvm/include\llvm/IR/IntrinsicEnums.inc(245,5): note: candidate found by name lookup is 'llvm::Intrinsic::memcpy' 245 | memcpy, // llvm.memcpy | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(562,14): warning: unused variable 'EltPtr' [-Wunused-variable] 562 | const T *EltPtr = reserveForParamAndGetAddress(Elt); | ^~~~~~ ../../llvm/include\llvm/IR/DataLayout.h(346,20): note: in instantiation of member function 'llvm::SmallVectorTemplateBase::push_back' requested here 346 | AddrSpaces.push_back(PS.AddrSpace); | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(520,7): error: reference to 'memcpy' is ambiguous 520 | memcpy(reinterpret_cast(Dest), I, (E - I) * sizeof(T)); | ^ ../../llvm/include\llvm/ADT/SmallVector.h(1097,9): note: in instantiation of function template specialization 'llvm::SmallVectorTemplateBase::uninitialized_move' requested here 1097 | this->uninitialized_move(RHS.begin()+CurSize, RHS.end(), | ^ ../../llvm/include\llvm/ADT/SmallVector.h(1248,27): note: in instantiation of member function 'llvm::SmallVectorImpl::operator=' requested here 1248 | SmallVectorImpl::operator=(::std::move(RHS)); | ^ ../../llvm/include\llvm/IR/DataLayout.h(348,12): note: in instantiation of member function 'llvm::SmallVector::SmallVector' requested here 348 | return AddrSpaces; | ^ ../../sysroot-3bda71a11e\VC\Tools\MSVC\14.26.28801\include\vcruntime_string.h(43,15): note: candidate found by name lookup is 'memcpy' 43 | void* __cdecl memcpy( | ^ gen/llvm/include\llvm/IR/IntrinsicEnums.inc(245,5): note: candidate found by name lookup is 'llvm::Intrinsic::memcpy' 245 | memcpy, // llvm.memcpy | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(562,14): warning: unused variable 'EltPtr' [-Wunused-variable] 562 | const T *EltPtr = reserveForParamAndGetAddress(Elt); | ^~~~~~ ../../llvm/lib/IR/Intrinsics.cpp(212,17): note: in instantiation of member function 'llvm::SmallVectorTemplateBase::push_back' requested here 212 | OutputTable.push_back(IITDescriptor::get(IITDescriptor::Void, 0)); | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(562,14): warning: unused variable 'EltPtr' [-Wunused-variable] 562 | const T *EltPtr = reserveForParamAndGetAddress(Elt); | ^~~~~~ ../../llvm/lib/IR/Intrinsics.cpp(468,17): note: in instantiation of member function 'llvm::SmallVectorTemplateBase::push_back' requested here 468 | IITValues.push_back(TableVal & 0xF); | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(562,14): warning: unused variable 'EltPtr' [-Wunused-variable] 562 | const T *EltPtr = reserveForParamAndGetAddress(Elt); | ^~~~~~ ../../llvm/lib/IR/Intrinsics.cpp(525,12): note: in instantiation of member function 'llvm::SmallVectorTemplateBase::push_back' requested here 525 | Elts.push_back(DecodeFixedType(Infos, Tys, Context)); | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(562,14): warning: unused variable 'EltPtr' [-Wunused-variable] 562 | const T *EltPtr = reserveForParamAndGetAddress(Elt); | ^~~~~~ ../../llvm/include\llvm/ADT/SmallVector.h(556,5): note: in instantiation of member function 'llvm::SmallVectorTemplateBase>>::push_back' requested here 556 | push_back(T(std::forward(Args)...)); | ^ ../../llvm/include\llvm/ADT/SmallVector.h(939,20): note: in instantiation of function template specialization 'llvm::SmallVectorTemplateBase>>::growAndEmplaceBack &>' requested here 939 | return this->growAndEmplaceBack(std::forward(Args)...); | ^ ../../llvm/lib/IR/Intrinsics.cpp(773,20): note: in instantiation of function template specialization 'llvm::SmallVectorImpl>>::emplace_back &>' requested here 773 | DeferredChecks.emplace_back(T, InfosRef); | ^ 5 warnings and 2 errors generated. [27/3618] CXX obj/llvm/lib/Target/AArch64/MCTargetDesc/MCTargetDesc.AArch64ELFStreamer.obj [28/3618] ACTION //llvm/lib/Target/ARM/MCTargetDesc:ARMGenSubtargetInfo(//llvm/utils/gn/build/toolchain:win) [29/3618] CXX obj/llvm/lib/Target/AMDGPU/MCA/MCA.AMDGPUCustomBehaviour.obj [30/3618] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.SMEABIPass.obj [31/3618] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUAliasAnalysis.obj [32/3618] ACTION //llvm/lib/Target/ARM/MCTargetDesc:ARMGenInstrInfo(//llvm/utils/gn/build/toolchain:win) [33/3617] CXX obj/llvm/lib/Target/AArch64/MCTargetDesc/MCTargetDesc.AArch64InstPrinter.obj [34/3617] CXX obj/llvm/lib/Target/AArch64/MCTargetDesc/MCTargetDesc.AArch64AsmBackend.obj [35/3617] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.SVEIntrinsicOpts.obj [36/3617] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUAnnotateUniformValues.obj [37/3617] CXX obj/llvm/lib/Target/AArch64/MCTargetDesc/MCTargetDesc.AArch64MCCodeEmitter.obj [38/3617] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64GlobalISelUtils.obj [39/3617] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64RegisterBankInfo.obj [40/3617] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUAnnotateKernelFeatures.obj [41/3617] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64PostSelectOptimize.obj [42/3617] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.SMEPeepholeOpt.obj [43/3617] CXX obj/llvm/lib/Target/AArch64/Disassembler/Disassembler.AArch64Disassembler.obj [44/3617] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64CallLowering.obj [45/3617] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUArgumentUsageInfo.obj [46/3617] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUAlwaysInlinePass.obj [47/3617] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64O0PreLegalizerCombiner.obj [48/3617] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64LegalizerInfo.obj [49/3617] CXX obj/llvm/lib/Target/AArch64/MCTargetDesc/MCTargetDesc.AArch64MCTargetDesc.obj [50/3617] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64PostLegalizerCombiner.obj [51/3617] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64PostLegalizerLowering.obj [52/3617] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64PreLegalizerCombiner.obj [53/3617] CXX obj/llvm/lib/Target/AArch64/GISel/LLVMAArch64CodeGen.AArch64InstructionSelector.obj [54/3617] CXX obj/llvm/lib/Target/AMDGPU/Disassembler/Disassembler.AMDGPUDisassembler.obj [55/3617] CXX obj/llvm/lib/Target/AMDGPU/AsmParser/AsmParser.AMDGPUAsmParser.obj ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.