[llvm] [ctx_prof] Add analysis utility to fetch ID of a callsite (PR #104491)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 10:54:44 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 6 "test-build-unified-tree-check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/3640
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
...
0.923 [2/9/649] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
0.956 [2/8/650] Linking CXX executable unittests/Object/ObjectTests
0.982 [2/7/651] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
0.995 [2/6/652] Linking CXX executable unittests/CodeGen/CodeGenTests
1.015 [2/5/653] Linking CXX executable unittests/Frontend/LLVMFrontendTests
1.149 [2/4/654] Linking CXX executable unittests/IR/IRTests
1.268 [2/3/655] Linking CXX executable unittests/ADT/ADTTests
1.271 [2/2/656] Linking CXX executable unittests/Support/SupportTests
8.909 [2/1/657] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/CtxProfAnalysisTest.cpp.o
9.249 [1/1/658] Linking CXX executable unittests/Analysis/AnalysisTests
FAILED: unittests/Analysis/AnalysisTests
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=gold -Wl,--export-dynamic -Wl,--gc-sections unittests/Analysis/CMakeFiles/AnalysisTests.dir/AliasAnalysisTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/AliasSetTrackerTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/AssumeBundleQueriesTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/BasicAliasAnalysisTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/BlockFrequencyInfoTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/BranchProbabilityInfoTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/CallGraphTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/CaptureTrackingTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/CFGTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/CGSCCPassManagerTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/ConstraintSystemTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/CtxProfAnalysisTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/DDGTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/DomTreeUpdaterTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/DXILResourceTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/GraphWriterTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/GlobalsModRefTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/FunctionPropertiesAnalysisTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/InlineCostTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/IRSimilarityIdentifierTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/IVDescriptorsTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/LazyCallGraphTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/LoadsTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/LoopInfoTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/LoopNestTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/MemoryBuiltinsTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/MemoryProfileInfoTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/MemorySSATest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/MLModelRunnerTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/PhiValuesTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/PluginInlineAdvisorAnalysisTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/PluginInlineOrderAnalysisTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/ProfileSummaryInfoTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/ReplaceWithVecLibTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/ScalarEvolutionTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/SparsePropagation.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/TargetLibraryInfoTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/TensorSpecTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/TBAATest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/UnrollAnalyzerTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/ValueLatticeTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/ValueTrackingTest.cpp.o unittests/Analysis/CMakeFiles/AnalysisTests.dir/VectorUtilsTest.cpp.o -o unittests/Analysis/AnalysisTests -Wl,-rpath,/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib lib/libLLVMPasses.so.20.0git lib/libllvm_gtest_main.so.20.0git lib/libLLVMTestingSupport.so.20.0git lib/libLLVMCodeGen.so.20.0git lib/libLLVMipo.so.20.0git lib/libLLVMTransformUtils.so.20.0git lib/libLLVMAnalysis.so.20.0git lib/libLLVMAsmParser.so.20.0git lib/libLLVMCore.so.20.0git lib/libLLVMTargetParser.so.20.0git lib/libllvm_gtest.so.20.0git lib/libLLVMSupport.so.20.0git -Wl,-rpath-link,/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib && :
unittests/Analysis/CMakeFiles/AnalysisTests.dir/CtxProfAnalysisTest.cpp.o:CtxProfAnalysisTest.cpp:function llvm::detail::PassModel<llvm::Module, llvm::PGOInstrumentationGen, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&): error: undefined reference to 'llvm::PGOInstrumentationGen::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```
https://github.com/llvm/llvm-project/pull/104491
More information about the llvm-commits
mailing list