github-actions[bot] wrote: <!--PREMERGE ADVISOR COMMENT: Windows--> # :window: Windows x64 Test Results
* 59424 tests passed * 1373 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] bin/llvm-opt-fuzzer.exe</summary> ``` FAILED: [code=4294967295] bin/llvm-opt-fuzzer.exe cmd.exe /C "cd . && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E vs_link_exe --intdir=tools\llvm-opt-fuzzer\CMakeFiles\llvm-opt-fuzzer.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\mt.exe" --manifests -- C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\llvm-opt-fuzzer.rsp /out:bin\llvm-opt-fuzzer.exe /implib:lib\llvm-opt-fuzzer.lib /pdb:bin\llvm-opt-fuzzer.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console && cd ." LINK: command "C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\llvm-opt-fuzzer.rsp /out:bin\llvm-opt-fuzzer.exe /implib:lib\llvm-opt-fuzzer.lib /pdb:bin\llvm-opt-fuzzer.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console" failed (exit code 1) with the following output: lld-link: error: undefined symbol: class llvm::DenseMap<unsigned int, struct llvm::memprof::FrameStat, struct llvm::DenseMapInfo<unsigned int, void>, struct llvm::detail::DenseMapPair<unsigned int, struct llvm::memprof::FrameStat>> __cdecl llvm::memprof::computeFrameHistogram<unsigned int>(class llvm::MapVector<unsigned __int64, class llvm::SmallVector<unsigned int, 12>, class llvm::DenseMap<unsigned __int64, unsigned int, struct llvm::DenseMapInfo<unsigned __int64, void>, struct llvm::detail::DenseMapPair<unsigned __int64, unsigned int>>, class llvm::SmallVector<struct std::pair<unsigned __int64, class llvm::SmallVector<unsigned int, 12>>, 0>> &) >>> referenced by LLVMBitWriter.lib(BitcodeWriter.cpp.obj):(class >>> llvm::DenseMap<unsigned __int64, unsigned int, struct >>> llvm::DenseMapInfo<unsigned __int64, void>, struct >>> llvm::detail::DenseMapPair<unsigned __int64, unsigned int>> __cdecl >>> writeMemoryProfileRadixTree(class llvm::MapVector<unsigned __int64, class >>> llvm::SmallVector<unsigned int, 12>, class llvm::DenseMap<unsigned __int64, >>> unsigned int, struct llvm::DenseMapInfo<unsigned __int64, void>, struct >>> llvm::detail::DenseMapPair<unsigned __int64, unsigned int>>, class >>> llvm::SmallVector<struct std::pair<unsigned __int64, class >>> llvm::SmallVector<unsigned int, 12>>, 0>> &&, class llvm::BitstreamWriter >>> &, unsigned int)) lld-link: error: undefined symbol: public: void __cdecl llvm::memprof::CallStackRadixTreeBuilder<unsigned int>::build(class llvm::MapVector<unsigned __int64, class llvm::SmallVector<unsigned int, 12>, class llvm::DenseMap<unsigned __int64, unsigned int, struct llvm::DenseMapInfo<unsigned __int64, void>, struct llvm::detail::DenseMapPair<unsigned __int64, unsigned int>>, class llvm::SmallVector<struct std::pair<unsigned __int64, class llvm::SmallVector<unsigned int, 12>>, 0>> &&, class llvm::DenseMap<unsigned int, unsigned int, struct llvm::DenseMapInfo<unsigned int, void>, struct llvm::detail::DenseMapPair<unsigned int, unsigned int>> const *, class llvm::DenseMap<unsigned int, struct llvm::memprof::FrameStat, struct llvm::DenseMapInfo<unsigned int, void>, struct llvm::detail::DenseMapPair<unsigned int, struct llvm::memprof::FrameStat>> &) >>> referenced by LLVMBitWriter.lib(BitcodeWriter.cpp.obj):(class >>> llvm::DenseMap<unsigned __int64, unsigned int, struct >>> llvm::DenseMapInfo<unsigned __int64, void>, struct >>> llvm::detail::DenseMapPair<unsigned __int64, unsigned int>> __cdecl >>> writeMemoryProfileRadixTree(class llvm::MapVector<unsigned __int64, class >>> llvm::SmallVector<unsigned int, 12>, class llvm::DenseMap<unsigned __int64, >>> unsigned int, struct llvm::DenseMapInfo<unsigned __int64, void>, struct >>> llvm::detail::DenseMapPair<unsigned __int64, unsigned int>>, class >>> llvm::SmallVector<struct std::pair<unsigned __int64, class >>> llvm::SmallVector<unsigned int, 12>>, 0>> &&, class llvm::BitstreamWriter >>> &, unsigned int)) lld-link: error: undefined symbol: class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl llvm::getInstrProfSectionName(enum llvm::InstrProfSectKind, enum llvm::Triple::ObjectFormatType, bool) >>> referenced by LLVMCodeGen.lib(TargetLoweringObjectFileImpl.cpp.obj):(class >>> llvm::MCSection * __cdecl selectExplicitSectionGlobal(class >>> llvm::GlobalObject const *, class llvm::SectionKind, class >>> llvm::TargetMachine const &, class llvm::MCContext &, class llvm::Mangler >>> &, unsigned int &, bool, bool)) >>> referenced by LLVMCodeGen.lib(TargetLoweringObjectFileImpl.cpp.obj):(class >>> llvm::MCSection * __cdecl selectExplicitSectionGlobal(class >>> llvm::GlobalObject const *, class llvm::SectionKind, class >>> llvm::TargetMachine const &, class llvm::MCContext &, class llvm::Mangler >>> &, unsigned int &, bool, bool)) >>> referenced by LLVMCodeGen.lib(TargetLoweringObjectFileImpl.cpp.obj):(class >>> llvm::MCSection * __cdecl selectExplicitSectionGlobal(class >>> llvm::GlobalObject const *, class llvm::SectionKind, class >>> llvm::TargetMachine const &, class llvm::MCContext &, class llvm::Mangler >>> &, unsigned int &, bool, bool)) >>> referenced 18 more times lld-link: error: undefined symbol: class llvm::cl::opt<int, 0, class llvm::cl::parser<int>> llvm::ProfileSummaryCutoffHot >>> referenced by LLVMAnalysis.lib(ProfileSummaryInfo.cpp.obj):(private: void >>> __cdecl llvm::ProfileSummaryInfo::computeThresholds(void)) lld-link: error: undefined symbol: public: static struct llvm::ProfileSummaryEntry const & __cdecl llvm::ProfileSummaryBuilder::getEntryForPercentile(class std::vector<struct llvm::ProfileSummaryEntry, class std::allocator<struct llvm::ProfileSummaryEntry>> const &, unsigned __int64) >>> referenced by LLVMAnalysis.lib(ProfileSummaryInfo.cpp.obj):(private: void >>> __cdecl llvm::ProfileSummaryInfo::computeThresholds(void)) >>> referenced by LLVMAnalysis.lib(ProfileSummaryInfo.cpp.obj):(private: class >>> std::optional<unsigned __int64> __cdecl >>> llvm::ProfileSummaryInfo::computeThreshold(int) const) lld-link: error: undefined symbol: public: static unsigned __int64 __cdecl llvm::ProfileSummaryBuilder::getHotCountThreshold(class std::vector<struct llvm::ProfileSummaryEntry, class std::allocator<struct llvm::ProfileSummaryEntry>> const &) >>> referenced by LLVMAnalysis.lib(ProfileSummaryInfo.cpp.obj):(private: void >>> __cdecl llvm::ProfileSummaryInfo::computeThresholds(void)) lld-link: error: undefined symbol: public: static unsigned __int64 __cdecl llvm::ProfileSummaryBuilder::getColdCountThreshold(class std::vector<struct llvm::ProfileSummaryEntry, class std::allocator<struct llvm::ProfileSummaryEntry>> const &) >>> referenced by LLVMAnalysis.lib(ProfileSummaryInfo.cpp.obj):(private: void >>> __cdecl llvm::ProfileSummaryInfo::computeThresholds(void)) lld-link: error: undefined symbol: class llvm::cl::opt<unsigned int, 0, class llvm::cl::parser<unsigned int>> llvm::ProfileSummaryHugeWorkingSetSizeThreshold >>> referenced by LLVMAnalysis.lib(ProfileSummaryInfo.cpp.obj):(private: void >>> __cdecl llvm::ProfileSummaryInfo::computeThresholds(void)) >>> referenced by LLVMAnalysis.lib(ProfileSummaryInfo.cpp.obj):(private: void >>> __cdecl llvm::ProfileSummaryInfo::computeThresholds(void)) lld-link: error: undefined symbol: class llvm::cl::opt<unsigned int, 0, class llvm::cl::parser<unsigned int>> llvm::ProfileSummaryLargeWorkingSetSizeThreshold >>> referenced by LLVMAnalysis.lib(ProfileSummaryInfo.cpp.obj):(private: void >>> __cdecl llvm::ProfileSummaryInfo::computeThresholds(void)) lld-link: error: undefined symbol: public: static bool llvm::sampleprof::FunctionSamples::HasUniqSuffix >>> referenced by LLVMCodeGen.lib(PseudoProbeInserter.cpp.obj):(public: static >>> class llvm::StringRef __cdecl >>> llvm::sampleprof::FunctionSamples::getCanonicalFnName(class >>> llvm::StringRef, class llvm::ArrayRef<class llvm::StringRef>, class >>> llvm::StringRef)) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj) >>> referenced by LLVMCodeGen.lib(MIRSampleProfile.cpp.obj) lld-link: error: undefined symbol: class llvm::SmallVector<struct InstrProfValueData, 4> __cdecl llvm::getValueProfDataFromInst(class llvm::Instruction const &, enum llvm::InstrProfValueKind, unsigned int, unsigned __int64 &, bool) >>> referenced by LLVMAnalysis.lib(ModuleSummaryAnalysis.cpp.obj):(bool __cdecl >>> findRefEdges(class llvm::ModuleSummaryIndex &, class llvm::User const *, >>> class llvm::SetVector<struct llvm::ValueInfo, class >>> llvm::SmallVector<struct llvm::ValueInfo, 0>, class llvm::DenseSet<struct >>> llvm::ValueInfo, struct llvm::DenseMapInfo<struct llvm::ValueInfo, void>>, >>> 0> &, class llvm::SmallPtrSet<class llvm::User const *, 8> &, bool &)) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(protected: bool __cdecl >>> `anonymous >>> namespace'::SampleProfileLoader::tryPromoteAndInlineCandidate(class >>> llvm::Function &, struct `anonymous namespace'::InlineCandidate &, unsigned >>> __int64, unsigned __int64 &, class Function::SmallVector<class >>> llvm::CallBase *, 8> *)) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(void __cdecl >>> updateIDTMetaData(class llvm::Instruction &, class >>> llvm::SmallVectorImpl<struct InstrProfValueData> const &, unsigned __int64)) >>> referenced 6 more times lld-link: error: undefined symbol: public: class llvm::Expected<struct llvm::PGOCtxProfile> __cdecl llvm::PGOCtxProfileReader::loadProfiles(void) >>> referenced by LLVMAnalysis.lib(CtxProfAnalysis.cpp.obj):(public: class >>> llvm::PGOContextualProfile __cdecl llvm::CtxProfAnalysis::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) >>> referenced by LLVMipo.lib(FunctionImport.cpp.obj):(private: void __cdecl >>> WorkloadImportsManager::loadFromCtxProf(void)) lld-link: error: undefined symbol: void __cdecl llvm::convertCtxProfToYaml(class llvm::raw_ostream &, struct llvm::PGOCtxProfile const &) >>> referenced by LLVMAnalysis.lib(CtxProfAnalysis.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::CtxProfAnalysisPrinterPass::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) lld-link: error: undefined symbol: public: class llvm::Error __cdecl llvm::InstrProfSymtab::create(class llvm::Module &, bool, bool) >>> referenced by LLVMipo.lib(MemProfContextDisambiguation.cpp.obj):(private: >>> bool __cdecl >>> llvm::MemProfContextDisambiguation::initializeIndirectCallPromotionInfo(class >>> llvm::Module &)) >>> referenced by >>> LLVMInstrumentation.lib(IndirectCallPromotion.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::PGOIndirectCallPromotion::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) >>> referenced by LLVMInstrumentation.lib(CGProfile.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::CGProfilePass::run(class llvm::Module >>> &, class llvm::AnalysisManager<class llvm::Module> &)) lld-link: error: undefined symbol: void __cdecl llvm::annotateValueSite(class llvm::Module &, class llvm::Instruction &, class llvm::ArrayRef<struct InstrProfValueData>, unsigned __int64, enum llvm::InstrProfValueKind, unsigned int) >>> referenced by LLVMipo.lib(MemProfContextDisambiguation.cpp.obj):(private: >>> void __cdecl llvm::MemProfContextDisambiguation::performICP(class >>> llvm::Module &, class llvm::ArrayRef<struct llvm::CallsiteInfo>, class >>> llvm::ArrayRef<class std::unique_ptr<class llvm::ValueMap<class llvm::Value >>> const *, class llvm::WeakTrackingVH, struct llvm::ValueMapConfig<class >>> llvm::Value const *, class llvm::sys::SmartMutex<0>>>, struct >>> std::default_delete<class llvm::ValueMap<class llvm::Value const *, class >>> llvm::WeakTrackingVH, struct llvm::ValueMapConfig<class llvm::Value const >>> *, class llvm::sys::SmartMutex<0>>>>>>, class llvm::ArrayRef<struct >>> llvm::MemProfContextDisambiguation::ICallAnalysisData>, class >>> llvm::OptimizationRemarkEmitter &)) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(void __cdecl >>> updateIDTMetaData(class llvm::Instruction &, class >>> llvm::SmallVectorImpl<struct InstrProfValueData> const &, unsigned __int64)) >>> referenced by LLVMInstrumentation.lib(MemProfUse.cpp.obj):(void __cdecl >>> readMemprof(class llvm::Module &, class llvm::Function &, class >>> llvm::IndexedInstrProfReader *, class llvm::TargetLibraryInfo const &, >>> class std::map<unsigned __int64, struct AllocMatchInfo, struct >>> std::less<unsigned __int64>, class std::allocator<struct std::pair<unsigned >>> __int64 const, struct AllocMatchInfo>>> &, class std::set<class >>> std::vector<unsigned __int64, class std::allocator<unsigned __int64>>, >>> struct std::less<class std::vector<unsigned __int64, class >>> std::allocator<unsigned __int64>>>, class std::allocator<class >>> std::vector<unsigned __int64, class std::allocator<unsigned __int64>>>> &, >>> class llvm::DenseMap<unsigned __int64, class std::unordered_map<struct >>> llvm::memprof::LineLocation, struct llvm::memprof::LineLocation, struct >>> llvm::memprof::LineLocationHash, struct std::equal_to<struct >>> llvm::memprof::LineLocation>, class std::allocator<struct std::pair<struct >>> llvm::memprof::LineLocation const, struct llvm::memprof::LineLocation>>>, >>> struct llvm::DenseMapInfo<unsigned __int64, void>, struct >>> llvm::detail::DenseMapPair<unsigned __int64, class >>> std::unordered_map<struct llvm::memprof::LineLocation, struct >>> llvm::memprof::LineLocation, struct llvm::memprof::LineLocationHash, struct >>> std::equal_to<struct llvm::memprof::LineLocation>, class >>> std::allocator<struct std::pair<struct llvm::memprof::LineLocation const, >>> struct llvm::memprof::LineLocation>>>>> &, class >>> llvm::OptimizationRemarkEmitter &, unsigned __int64)) >>> referenced 4 more times lld-link: error: undefined symbol: public: static class llvm::ErrorOr<class std::unique_ptr<class llvm::sampleprof::SampleProfileReader, struct std::default_delete<class llvm::sampleprof::SampleProfileReader>>> __cdecl llvm::sampleprof::SampleProfileReader::create(class llvm::StringRef, class llvm::LLVMContext &, class llvm::vfs::FileSystem &, enum llvm::sampleprof::FSDiscriminatorPass, class llvm::StringRef) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::SampleProfileLoaderPass::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) >>> referenced by LLVMCodeGen.lib(MIRSampleProfile.cpp.obj):(public: bool >>> __cdecl llvm::MIRProfileLoader::doInitialization(class llvm::Module &)) lld-link: error: undefined symbol: public: void __cdecl llvm::sampleprof::SampleProfileReaderItaniumRemapper::applyRemapping(class llvm::LLVMContext &) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::SampleProfileLoaderPass::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) >>> referenced by LLVMCodeGen.lib(MIRSampleProfile.cpp.obj):(public: bool >>> __cdecl llvm::MIRProfileLoader::doInitialization(class llvm::Module &)) lld-link: error: undefined symbol: public: static bool llvm::sampleprof::FunctionSamples::UseMD5 >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::SampleProfileLoaderPass::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::SampleProfileLoaderPass::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::SampleProfileLoaderPass::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) >>> referenced 13 more times lld-link: error: undefined symbol: class std::error_category const & __cdecl llvm::sampleprof_category(void) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::SampleProfileLoaderPass::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) >>> referenced by LLVMCodeGen.lib(MIRSampleProfile.cpp.obj):(public: bool >>> __cdecl llvm::MIRProfileLoader::doInitialization(class llvm::Module &)) >>> referenced by LLVMCodeGen.lib(MIRSampleProfile.cpp.obj):(public: bool >>> __cdecl llvm::MIRProfileLoader::doInitialization(class llvm::Module &)) >>> referenced 1 more times lld-link: error: undefined symbol: public: static bool llvm::sampleprof::FunctionSamples::ProfileIsProbeBased >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::SampleProfileLoaderPass::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(public: class >>> llvm::PreservedAnalyses __cdecl llvm::SampleProfileLoaderPass::run(class >>> llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &)) >>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(protected: virtual class >>> llvm::ErrorOr<unsigned __int64> __cdecl `anonymous >>> namespace'::SampleProfileLoader::getInstWeight(class ErrorOr<unsigned >>> __int64>::Instruction const &)) >>> referenced 16 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/178701 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
