[llvm] [AMDGPU][SIInsertWaitcnts][NFC] Common InstCounterType printer (PR #187559)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 12:58:23 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 61674 tests passed
* 1638 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>[code=4294967295] unittests/Transforms/Instrumentation/InstrumentationTests.exe</summary>
```
FAILED: [code=4294967295] unittests/Transforms/Instrumentation/InstrumentationTests.exe
C:\Windows\system32\cmd.exe /C "cd . && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E vs_link_exe --msvc-ver=1944 --intdir=unittests\Transforms\Instrumentation\CMakeFiles\InstrumentationTests.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\mt.exe" --manifests -- C:\clang\clang-msvc\bin\lld-link.exe /nologo unittests\Transforms\Instrumentation\CMakeFiles\InstrumentationTests.dir\MemProfUseTest.cpp.obj unittests\Transforms\Instrumentation\CMakeFiles\InstrumentationTests.dir\PGOInstrumentationTest.cpp.obj unittests\Transforms\Instrumentation\CMakeFiles\InstrumentationTests.dir\__\__\__\resources\windows_version_resource.rc.res /out:unittests\Transforms\Instrumentation\InstrumentationTests.exe /implib:unittests\Transforms\Instrumentation\InstrumentationTests.lib /pdb:unittests\Transforms\Instrumentation\InstrumentationTests.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMAnalysis.lib lib\LLVMAsmParser.lib lib\LLVMCore.lib lib\LLVMInstrumentation.lib lib\LLVMPasses.lib lib\LLVMProfileData.lib lib\LLVMSupport.lib lib\llvm_gtest_main.lib lib\llvm_gtest.lib lib\LLVMTestingSupport.lib lib\LLVMCFGuard.lib lib\LLVMGlobalISel.lib lib\LLVMSelectionDAG.lib lib\LLVMCodeGen.lib lib\LLVMCGData.lib lib\LLVMCodeGenTypes.lib lib\LLVMCoroutines.lib lib\LLVMHipStdPar.lib lib\LLVMipo.lib lib\LLVMBitWriter.lib lib\LLVMFrontendOpenMP.lib lib\LLVMFrontendOffloading.lib lib\LLVMObjectYAML.lib lib\LLVMFrontendAtomic.lib lib\LLVMFrontendDirective.lib lib\LLVMLinker.lib lib\LLVMIRPrinter.lib lib\LLVMObjCARCOpts.lib lib\LLVMScalarOpts.lib lib\LLVMAggressiveInstCombine.lib lib\LLVMInstCombine.lib lib\LLVMTarget.lib lib\LLVMVectorize.lib lib\LLVMTransformUtils.lib lib\LLVMSandboxIR.lib lib\LLVMSymbolize.lib lib\LLVMDebugInfoGSYM.lib lib\LLVMDebugInfoPDB.lib "C:\BuildTools\DIA SDK\lib\amd64\diaguids.lib" lib\LLVMDebugInfoCodeView.lib lib\LLVMDebugInfoMSF.lib lib\LLVMDebugInfoBTF.lib lib\LLVMDebugInfoDWARF.lib lib\LLVMFrontendHLSL.lib lib\LLVMObject.lib lib\LLVMIRReader.lib lib\LLVMBitReader.lib lib\LLVMMCParser.lib lib\LLVMMC.lib lib\LLVMDebugInfoDWARFLowLevel.lib lib\LLVMTextAPI.lib lib\LLVMBinaryFormat.lib lib\LLVMTargetParser.lib lib\LLVMRemarks.lib lib\LLVMBitstreamReader.lib lib\LLVMDemangle.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK: command "C:\clang\clang-msvc\bin\lld-link.exe /nologo unittests\Transforms\Instrumentation\CMakeFiles\InstrumentationTests.dir\MemProfUseTest.cpp.obj unittests\Transforms\Instrumentation\CMakeFiles\InstrumentationTests.dir\PGOInstrumentationTest.cpp.obj unittests\Transforms\Instrumentation\CMakeFiles\InstrumentationTests.dir\__\__\__\resources\windows_version_resource.rc.res /out:unittests\Transforms\Instrumentation\InstrumentationTests.exe /implib:unittests\Transforms\Instrumentation\InstrumentationTests.lib /pdb:unittests\Transforms\Instrumentation\InstrumentationTests.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMAnalysis.lib lib\LLVMAsmParser.lib lib\LLVMCore.lib lib\LLVMInstrumentation.lib lib\LLVMPasses.lib lib\LLVMProfileData.lib lib\LLVMSupport.lib lib\llvm_gtest_main.lib lib\llvm_gtest.lib lib\LLVMTestingSupport.lib lib\LLVMCFGuard.lib lib\LLVMGlobalISel.lib lib\LLVMSelectionDAG.lib lib\LLVMCodeGen.lib lib\LLVMCGData.lib lib\LLVMCodeGenTypes.lib lib\LLVMCoroutines.lib lib\LLVMHipStdPar.lib lib\LLVMipo.lib lib\LLVMBitWriter.lib lib\LLVMFrontendOpenMP.lib lib\LLVMFrontendOffloading.lib lib\LLVMObjectYAML.lib lib\LLVMFrontendAtomic.lib lib\LLVMFrontendDirective.lib lib\LLVMLinker.lib lib\LLVMIRPrinter.lib lib\LLVMObjCARCOpts.lib lib\LLVMScalarOpts.lib lib\LLVMAggressiveInstCombine.lib lib\LLVMInstCombine.lib lib\LLVMTarget.lib lib\LLVMVectorize.lib lib\LLVMTransformUtils.lib lib\LLVMSandboxIR.lib lib\LLVMSymbolize.lib lib\LLVMDebugInfoGSYM.lib lib\LLVMDebugInfoPDB.lib C:\BuildTools\DIA SDK\lib\amd64\diaguids.lib lib\LLVMDebugInfoCodeView.lib lib\LLVMDebugInfoMSF.lib lib\LLVMDebugInfoBTF.lib lib\LLVMDebugInfoDWARF.lib lib\LLVMFrontendHLSL.lib lib\LLVMObject.lib lib\LLVMIRReader.lib lib\LLVMBitReader.lib lib\LLVMMCParser.lib lib\LLVMMC.lib lib\LLVMDebugInfoDWARFLowLevel.lib lib\LLVMTextAPI.lib lib\LLVMBinaryFormat.lib lib\LLVMTargetParser.lib lib\LLVMRemarks.lib lib\LLVMBitstreamReader.lib lib\LLVMDemangle.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" failed (exit code 1) with the following output:
lld-link: error: undefined symbol: public: bool __cdecl llvm::Triple::isArch16Bit(void) const
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: __cdecl llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(class llvm::Triple const &, enum llvm::VectorLibrary))
lld-link: error: undefined symbol: public: bool __cdecl llvm::Triple::isMacOSXVersionLT(unsigned int, unsigned int, unsigned int) const
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: __cdecl llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(class llvm::Triple const &, enum llvm::VectorLibrary))
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: __cdecl llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(class llvm::Triple const &, enum llvm::VectorLibrary))
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: __cdecl llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(class llvm::Triple const &, enum llvm::VectorLibrary))
>>> referenced 15 more times
lld-link: error: undefined symbol: public: class llvm::VersionTuple __cdecl llvm::Triple::getOSVersion(void) const
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: __cdecl llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(class llvm::Triple const &, enum llvm::VectorLibrary))
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: __cdecl llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(class llvm::Triple const &, enum llvm::VectorLibrary))
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: __cdecl llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(class llvm::Triple const &, enum llvm::VectorLibrary))
>>> referenced 24 more times
lld-link: error: undefined symbol: public: class llvm::VersionTuple __cdecl llvm::Triple::getEnvironmentVersion(void) const
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: __cdecl llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(class llvm::Triple const &, enum llvm::VectorLibrary))
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: __cdecl llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(class llvm::Triple const &, enum llvm::VectorLibrary))
>>> referenced by LLVMInstrumentation.lib(HWAddressSanitizer.cpp.obj):(public: class llvm::PreservedAnalyses __cdecl llvm::HWAddressSanitizerPass::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &))
lld-link: error: undefined symbol: public: bool __cdecl llvm::Triple::isArch64Bit(void) const
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: __cdecl llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl(class llvm::Triple const &, enum llvm::VectorLibrary))
>>> referenced by LLVMCoroutines.lib(CoroSplit.cpp.obj):(protected: void __cdecl llvm::coro::BaseCloner::salvageDebugInfo(void))
>>> referenced by LLVMInstrumentation.lib(HWAddressSanitizer.cpp.obj):(public: class llvm::PreservedAnalyses __cdecl llvm::HWAddressSanitizerPass::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &))
>>> referenced 9 more times
lld-link: error: undefined symbol: public: unsigned int __cdecl llvm::Triple::getDefaultWCharSize(void) const
>>> referenced by LLVMAnalysis.lib(TargetLibraryInfo.cpp.obj):(public: unsigned int __cdecl llvm::TargetLibraryInfoImpl::getWCharSize(class llvm::Module const &) const)
lld-link: error: undefined symbol: public: __cdecl llvm::Triple::Triple(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> &&)
>>> referenced by LLVMCore.lib(Module.cpp.obj):(public: __cdecl llvm::Triple::Triple(char const *))
>>> referenced by LLVMAsmParser.lib(LLParser.cpp.obj):(private: bool __cdecl llvm::LLParser::parseTargetDefinition(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> &, class llvm::SMLoc &))
>>> referenced by LLVMCore.lib(AutoUpgrade.cpp.obj):(public: __cdecl llvm::Triple::Triple(class llvm::StringRef))
>>> referenced 7 more times
lld-link: error: undefined symbol: public: static class llvm::StringRef __cdecl llvm::Triple::getEnvironmentTypeName(enum llvm::Triple::EnvironmentType)
>>> referenced by LLVMAnalysis.lib(DXILMetadataAnalysis.cpp.obj):(public: void __cdecl llvm::dxil::ModuleMetadataInfo::print(class llvm::raw_ostream &) const)
>>> referenced by LLVMAnalysis.lib(DXILMetadataAnalysis.cpp.obj):(public: void __cdecl llvm::dxil::ModuleMetadataInfo::print(class llvm::raw_ostream &) const)
lld-link: error: undefined symbol: public: class llvm::VersionTuple __cdecl llvm::Triple::getDXILVersion(void) const
>>> referenced by LLVMAnalysis.lib(DXILMetadataAnalysis.cpp.obj):(struct llvm::dxil::ModuleMetadataInfo __cdecl collectMetadataInfo(class llvm::Module &))
>>> referenced by LLVMMC.lib(MCDXContainerWriter.cpp.obj):(public: virtual unsigned __int64 __cdecl llvm::DXContainerObjectWriter::writeObject(void))
lld-link: error: undefined symbol: public: __cdecl llvm::Triple::Triple(class llvm::Twine const &, class llvm::Twine const &, class llvm::Twine const &, class llvm::Twine const &)
>>> referenced by LLVMAnalysis.lib(DXILMetadataAnalysis.cpp.obj):(struct llvm::dxil::ModuleMetadataInfo __cdecl collectMetadataInfo(class llvm::Module &))
lld-link: error: undefined symbol: public: bool __cdecl llvm::Triple::isArch32Bit(void) const
>>> referenced by LLVMProfileData.lib(InstrProfCorrelator.cpp.obj):(private: static class llvm::Expected<class std::unique_ptr<class llvm::InstrProfCorrelator, struct std::default_delete<class llvm::InstrProfCorrelator>>> __cdecl llvm::InstrProfCorrelator::get(class std::unique_ptr<class llvm::MemoryBuffer, struct std::default_delete<class llvm::MemoryBuffer>>, enum llvm::InstrProfCorrelator::ProfCorrelatorKind))
lld-link: error: undefined symbol: unsigned int __cdecl llvm::RISCVVType::getSEWLMULRatio(unsigned int, enum llvm::RISCVVType::VLMUL)
>>> referenced by LLVMAnalysis.lib(ValueTracking.cpp.obj):(void __cdecl computeKnownBitsFromOperator(class llvm::Operator const *, class llvm::APInt const &, struct llvm::KnownBits &, struct llvm::SimplifyQuery const &, unsigned int))
lld-link: error: undefined symbol: enum llvm::ARM::ARMABI __cdecl llvm::ARM::computeTargetABI(class llvm::Triple const &, class llvm::StringRef)
>>> referenced by LLVMCore.lib(RuntimeLibcalls.cpp.obj):(private: void __cdecl llvm::RTLIB::RuntimeLibcallsInfo::setTargetRuntimeLibcallSets(class llvm::Triple const &, enum llvm::ExceptionHandling, enum llvm::FloatABI::ABIType, enum llvm::EABI, class llvm::StringRef))
>>> referenced by LLVMCore.lib(RuntimeLibcalls.cpp.obj):(private: void __cdecl llvm::RTLIB::RuntimeLibcallsInfo::setTargetRuntimeLibcallSets(class llvm::Triple const &, enum llvm::ExceptionHandling, enum llvm::FloatABI::ABIType, enum llvm::EABI, class llvm::StringRef))
>>> referenced by LLVMCore.lib(RuntimeLibcalls.cpp.obj):(private: void __cdecl llvm::RTLIB::RuntimeLibcallsInfo::setTargetRuntimeLibcallSets(class llvm::Triple const &, enum llvm::ExceptionHandling, enum llvm::FloatABI::ABIType, enum llvm::EABI, class llvm::StringRef))
>>> referenced 8 more times
lld-link: error: undefined symbol: public: enum llvm::ExceptionHandling __cdecl llvm::Triple::getDefaultExceptionHandling(void) const
>>> referenced by LLVMCore.lib(RuntimeLibcalls.cpp.obj):(public: __cdecl llvm::RTLIB::RuntimeLibcallsInfo::RuntimeLibcallsInfo(class llvm::Triple const &, enum llvm::ExceptionHandling, enum llvm::FloatABI::ABIType, enum llvm::EABI, class llvm::StringRef, enum llvm::VectorLibrary))
>>> referenced by LLVMCore.lib(RuntimeLibcalls.cpp.obj):(public: __cdecl llvm::RTLIB::RuntimeLibcallsInfo::RuntimeLibcallsInfo(class llvm::Module const &))
lld-link: error: undefined symbol: public: class llvm::StringRef __cdecl llvm::Triple::getOSName(void) const
>>> referenced by LLVMLinker.lib(IRMover.cpp.obj):(public: class llvm::Error __cdecl `anonymous namespace'::IRLinker::run(void))
>>> referenced by LLVMLinker.lib(IRMover.cpp.obj):(public: class llvm::Error __cdecl `anonymous namespace'::IRLinker::run(void))
>>> referenced by LLVMMCParser.lib(DarwinAsmParser.cpp.obj):(public: void __cdecl `anonymous namespace'::DarwinAsmParser::checkVersion(class llvm::StringRef, class llvm::StringRef, class StringRef::SMLoc, enum StringRef::Triple::OSType))
lld-link: error: undefined symbol: public: class llvm::StringRef __cdecl llvm::Triple::getVendorName(void) const
>>> referenced by LLVMLinker.lib(IRMover.cpp.obj):(public: class llvm::Error __cdecl `anonymous namespace'::IRLinker::run(void))
lld-link: error: undefined symbol: public: bool __cdecl llvm::Triple::isCompatibleWith(class llvm::Triple const &) const
>>> referenced by LLVMLinker.lib(IRMover.cpp.obj):(public: class llvm::Error __cdecl `anonymous namespace'::IRLinker::run(void))
lld-link: error: undefined symbol: public: class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl llvm::Triple::merge(class llvm::Triple const &) const
>>> referenced by LLVMLinker.lib(IRMover.cpp.obj):(public: class llvm::Error __cdecl `anonymous namespace'::IRLinker::run(void))
lld-link: error: undefined symbol: class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl llvm::sys::getDefaultTargetTriple(void)
>>> referenced by LLVMObject.lib(MachOObjectFile.cpp.obj):(public: static class llvm::Triple __cdecl llvm::object::MachOObjectFile::getHostArch(void))
>>> referenced by LLVMObject.lib(Archive.cpp.obj):(public: static enum llvm::object::Archive::Kind __cdecl llvm::object::Archive::getDefaultKind(void))
lld-link: error: undefined symbol: public: __cdecl llvm::SubtargetFeatures::SubtargetFeatures(class llvm::StringRef)
>>> referenced by LLVMObject.lib(MachOObjectFile.cpp.obj):(public: virtual class llvm::Expected<class llvm::SubtargetFeatures> __cdecl llvm::object::MachOObjectFile::getFeatures(void) const)
>>> referenced by LLVMMC.lib(MCSubtargetInfo.cpp.obj):(class llvm::FeatureBitset __cdecl getFeatures(class llvm::MCSubtargetInfo &, class llvm::StringRef, class llvm::StringRef, class llvm::StringRef, class llvm::ArrayRef<class llvm::StringRef>, class llvm::ArrayRef<struct llvm::SubtargetSubTypeKV>, class llvm::ArrayRef<struct llvm::SubtargetFeatureKV>))
>>> referenced by LLVMMC.lib(MCSubtargetInfo.cpp.obj):(public: bool __cdecl llvm::MCSubtargetInfo::checkFeatures(class llvm::StringRef) const)
>>> referenced 12 more times
lld-link: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/187559
More information about the llvm-commits
mailing list