[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 13:41:44 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64le-rhel` running on `ppc64le-clang-rhel-test` while building `llvm` at step 7 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/145/builds/1343
Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
...
0.167 [2/2/1] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.powerpc64le.dir/dummy.cpp.o
0.167 [1/2/2] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_dynamic_version_script_dummy.powerpc64le.dir/dummy.cpp.o
0.364 [0/2/3] Linking CXX shared library /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.ubsan_standalone.so
0.389 [0/1/4] Linking CXX shared library /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib/clang/20/lib/powerpc64le-unknown-linux-gnu/libclang_rt.asan.so
23.771 [4/2/1170] cd /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/runtimes/runtimes-bins && /home/buildbots/llvm-external-buildbots/cmake-3.28.2/bin/cmake --build /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/runtimes/runtimes-bins/ --target runtimes-test-depends --config Release
ninja: no work to do.
23.830 [3/2/1171] No install step for 'runtimes'
23.847 [2/2/1173] Completed 'runtimes'
31.504 [2/1/1174] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/CtxProfAnalysisTest.cpp.o
31.601 [1/1/1175] Linking CXX executable unittests/Analysis/AnalysisTests
FAILED: unittests/Analysis/AnalysisTests
: && /home/docker/llvm-external-buildbots/clang.17.0.6/bin/clang++ --gcc-toolchain=/gcc-toolchain/usr -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,--color-diagnostics -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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/bui
ort.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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib && :
ld.lld: error: undefined symbol: llvm::PGOInstrumentationGen::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)
>>> referenced by CtxProfAnalysisTest.cpp
>>> unittests/Analysis/CMakeFiles/AnalysisTests.dir/CtxProfAnalysisTest.cpp.o:(llvm::detail::PassModel<llvm::Module, llvm::PGOInstrumentationGen, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&))
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
```
https://github.com/llvm/llvm-project/pull/104491
More information about the llvm-commits
mailing list