[llvm] [NFC][LLVM] Eliminate use of `getIntrinsicInfoTableEntries` from CloneFunction.cpp (PR #195448)

via llvm-commits llvm-commits at lists.llvm.org
Sat May 2 07:31:01 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 61701 tests passed
* 1660 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/Scalar/ScalarTests.exe</summary>

```
FAILED: [code=4294967295] unittests/Transforms/Scalar/ScalarTests.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\Scalar\CMakeFiles\ScalarTests.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\Scalar\CMakeFiles\ScalarTests.dir\LICMTest.cpp.obj unittests\Transforms\Scalar\CMakeFiles\ScalarTests.dir\LoopPassManagerTest.cpp.obj unittests\Transforms\Scalar\CMakeFiles\ScalarTests.dir\__\__\__\resources\windows_version_resource.rc.res  /out:unittests\Transforms\Scalar\ScalarTests.exe /implib:unittests\Transforms\Scalar\ScalarTests.lib /pdb:unittests\Transforms\Scalar\ScalarTests.pdb /version:0.0 /MANIFEST:NO /INCREMENTAL:NO /subsystem:console  /STACK:10000000  lib\LLVMAnalysis.lib  lib\LLVMAsmParser.lib  lib\LLVMCore.lib  lib\LLVMPasses.lib  lib\LLVMSupport.lib  lib\LLVMScalarOpts.lib  lib\LLVMTransformUtils.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\LLVMAggressiveInstCombine.lib  lib\LLVMFrontendOffloading.lib  lib\LLVMObjectYAML.lib  lib\LLVMFrontendAtomic.lib  lib\LLVMFrontendDirective.lib  lib\LLVMLinker.lib  lib\LLVMInstCombine.lib  lib\LLVMIRPrinter.lib  lib\LLVMObjCARCOpts.lib  lib\LLVMTarget.lib  lib\LLVMVectorize.lib  lib\LLVMSandboxIR.lib  lib\LLVMInstrumentation.lib  lib\LLVMFrontendHLSL.lib  lib\LLVMProfileData.lib  lib\LLVMSymbolize.lib  lib\LLVMDebugInfoGSYM.lib  lib\LLVMDebugInfoPDB.lib  lib\LLVMDebugInfoCodeView.lib  lib\LLVMDebugInfoMSF.lib  lib\LLVMDebugInfoBTF.lib  lib\LLVMDebugInfoDWARF.lib  lib\LLVMObject.lib  lib\LLVMIRReader.lib  lib\LLVMBitReader.lib  lib\LLVMRemarks.lib  lib\LLVMBitstreamReader.lib  lib\LLVMMCParser.lib  lib\LLVMTextAPI.lib  lib\LLVMMC.lib  lib\LLVMDebugInfoDWARFLowLevel.lib  lib\LLVMBinaryFormat.lib  lib\LLVMTargetParser.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\Scalar\CMakeFiles\ScalarTests.dir\LICMTest.cpp.obj unittests\Transforms\Scalar\CMakeFiles\ScalarTests.dir\LoopPassManagerTest.cpp.obj unittests\Transforms\Scalar\CMakeFiles\ScalarTests.dir\__\__\__\resources\windows_version_resource.rc.res /out:unittests\Transforms\Scalar\ScalarTests.exe /implib:unittests\Transforms\Scalar\ScalarTests.lib /pdb:unittests\Transforms\Scalar\ScalarTests.pdb /version:0.0 /MANIFEST:NO /INCREMENTAL:NO /subsystem:console /STACK:10000000 lib\LLVMAnalysis.lib lib\LLVMAsmParser.lib lib\LLVMCore.lib lib\LLVMPasses.lib lib\LLVMSupport.lib lib\LLVMScalarOpts.lib lib\LLVMTransformUtils.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\LLVMAggressiveInstCombine.lib lib\LLVMFrontendOffloading.lib lib\LLVMObjectYAML.lib lib\LLVMFrontendAtomic.lib lib\LLVMFrontendDirective.lib lib\LLVMLinker.lib lib\LLVMInstCombine.lib lib\LLVMIRPrinter.lib lib\LLVMObjCARCOpts.lib lib\LLVMTarget.lib lib\LLVMVectorize.lib lib\LLVMSandboxIR.lib lib\LLVMInstrumentation.lib lib\LLVMFrontendHLSL.lib lib\LLVMProfileData.lib lib\LLVMSymbolize.lib lib\LLVMDebugInfoGSYM.lib lib\LLVMDebugInfoPDB.lib lib\LLVMDebugInfoCodeView.lib lib\LLVMDebugInfoMSF.lib lib\LLVMDebugInfoBTF.lib lib\LLVMDebugInfoDWARF.lib lib\LLVMObject.lib lib\LLVMIRReader.lib lib\LLVMBitReader.lib lib\LLVMRemarks.lib lib\LLVMBitstreamReader.lib lib\LLVMMCParser.lib lib\LLVMTextAPI.lib lib\LLVMMC.lib lib\LLVMDebugInfoDWARFLowLevel.lib lib\LLVMBinaryFormat.lib lib\LLVMTargetParser.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: 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: 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 7 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: 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, class llvm::DenseSet<unsigned __int64, struct llvm::DenseMapInfo<unsigned __int64, void>> &, class llvm::DenseSet<unsigned __int64, struct llvm::DenseMapInfo<unsigned __int64, void>> &))

>>> referenced 4 more times



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 LLVMInstrumentation.lib(SanitizerBinaryMetadata.cpp.obj):(public: class llvm::PreservedAnalyses __cdecl llvm::SanitizerBinaryMetadataPass::run(class llvm::Module &, class llvm::AnalysisManager<class llvm::Module> &))

>>> referenced by LLVMInstrumentation.lib(MemProfInstrumentation.cpp.obj):(public: class std::optional<struct `anonymous namespace'::InterestingMemoryAccess> __cdecl `anonymous namespace'::MemProfiler::isInterestingMemoryAccess(class llvm::Instruction *) const)

>>> referenced by LLVMInstrumentation.lib(GCOVProfiling.cpp.obj):(private: bool __cdecl `anonymous namespace'::GCOVProfiler::emitProfileNotes(class llvm::NamedMDNode *, bool, class NamedMDNode::function_ref<class llvm::BlockFrequencyInfo * __cdecl(class llvm::Function &)>, class NamedMDNode::function_ref<class llvm::BranchProbabilityInfo * __cdecl(class llvm::Function &)>, class NamedMDNode::function_ref<class llvm::TargetLibraryInfo const & __cdecl(class llvm::Function &)>))

>>> referenced 8 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 LLVMipo.lib(SampleProfileMatcher.cpp.obj):(public: class std::error_code __cdecl llvm::sampleprof::SampleProfileReader::read(class llvm::DenseSet<class llvm::StringRef, struct llvm::DenseMapInfo<class llvm::StringRef, void>> const &))

>>> 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 19 more times



lld-link: error: undefined symbol: public: class std::optional<class llvm::StringRef> __cdecl llvm::sampleprof::SampleProfileReaderItaniumRemapper::lookUpNameInProfile(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 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::sampleprof::FunctionSamples * __cdecl llvm::sampleprof::SampleProfileReader::getSamplesFor(class llvm::StringRef))



lld-link: error: undefined symbol: public: static bool llvm::sampleprof::FunctionSamples::ProfileIsCS

>>> 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 25 more times



lld-link: error: undefined symbol: public: class llvm::sampleprof::FunctionSamples const * __cdecl llvm::sampleprof::FunctionSamples::findFunctionSamples(class llvm::DILocation const *, class llvm::sampleprof::SampleProfileReaderItaniumRemapper *, class llvm::sampleprof::HashKeyMap<class std::unordered_map, class llvm::sampleprof::FunctionId, class llvm::sampleprof::FunctionId> const *) const

>>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(protected: virtual class llvm::sampleprof::FunctionSamples const * __cdecl `anonymous namespace'::SampleProfileLoader::findFunctionSamples(class sampleprof::Instruction const &) const)

>>> referenced by LLVMipo.lib(SampleProfile.cpp.obj):(protected: virtual class llvm::sampleprof::FunctionSamples const * __cdecl llvm::SampleProfileLoaderBaseImpl<class llvm::Function>::findFunctionSamples(class llvm::Instruction const &) const)

>>> referenced by LLVMCodeGen.lib(MIRSampleProfile.cpp.obj):(protected: virtual class llvm::sampleprof::FunctionSamples const * __cdecl llvm::SampleProfileLoaderBaseImpl<class llvm::MachineFunction>::findFunctionSamples(class llvm::MachineInstr const &) const)



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/195448


More information about the llvm-commits mailing list