[llvm] [memprof] Add extractCallsFromIR (PR #115218)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 7 16:11:08 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` while building `llvm` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/4322
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
...
[77/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-inline-Noinst-Test
[78/85] Generating ASAN_NOINST_TEST_OBJECTS.gtest-all.cc.powerpc64le-calls.o
[79/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-calls-Noinst-Test
[80/85] Generating ASAN_INST_TEST_OBJECTS.gtest-all.cc.powerpc64le-calls.o
[81/85] Generating POWERPC64LELinuxDynamicConfig/Asan-powerpc64le-calls-Dynamic-Test
[82/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-calls-Test
[83/85] Generating ASAN_INST_TEST_OBJECTS.gtest-all.cc.powerpc64le-inline.o
[84/85] Generating POWERPC64LELinuxDynamicConfig/Asan-powerpc64le-inline-Dynamic-Test
[85/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-inline-Test
[1181/1187] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
FAILED: unittests/Transforms/Instrumentation/InstrumentationTests
: && /usr/lib64/ccache/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-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,--gc-sections unittests/Transforms/Instrumentation/CMakeFiles/InstrumentationTests.dir/MemProfUseTest.cpp.o unittests/Transforms/Instrumentation/CMakeFiles/InstrumentationTests.dir/PGOInstrumentationTest.cpp.o -o unittests/Transforms/Instrumentation/InstrumentationTests -Wl,-rpath,/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib lib/libLLVMPasses.so.20.0git -lpthread lib/libllvm_gtest_main.so.20.0git -lpthread lib/libLLVMTestingSupport.so.20.0git lib/libLLVMInstrumentation.so.20.0git lib/libLLVMAnalysis.so.20.0git lib/libLLVMAsmParser.so.20.0git lib/libLLVMCore.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-multistage-test/clang-ppc64le-multistage/stage1/lib && :
/usr/bin/ld: unittests/Transforms/Instrumentation/CMakeFiles/InstrumentationTests.dir/MemProfUseTest.cpp.o: undefined reference to symbol '_ZN4llvm7memprof20IndexedMemProfRecord7getGUIDENS_9StringRefE'
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/libLLVMProfileData.so.20.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[1182/1187] Linking CXX executable tools/clang/tools/extra/clangd/unittests/ClangdTests
ninja: build stopped: subcommand failed.
Step 11 (ninja check 2) failure: stage 2 checked (failure)
...
[77/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-calls-Noinst-Test
[78/85] Generating ASAN_NOINST_TEST_OBJECTS.gtest-all.cc.powerpc64le-inline.o
[79/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-inline-Noinst-Test
[80/85] Generating ASAN_INST_TEST_OBJECTS.gtest-all.cc.powerpc64le-inline.o
[81/85] Generating POWERPC64LELinuxDynamicConfig/Asan-powerpc64le-inline-Dynamic-Test
[82/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-inline-Test
[83/85] Generating ASAN_INST_TEST_OBJECTS.gtest-all.cc.powerpc64le-calls.o
[84/85] Generating POWERPC64LELinuxDynamicConfig/Asan-powerpc64le-calls-Dynamic-Test
[85/85] Generating POWERPC64LELinuxConfig/Asan-powerpc64le-calls-Test
[803/1187] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
FAILED: unittests/Transforms/Instrumentation/InstrumentationTests
: && /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1.install/bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -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,--gc-sections unittests/Transforms/Instrumentation/CMakeFiles/InstrumentationTests.dir/MemProfUseTest.cpp.o unittests/Transforms/Instrumentation/CMakeFiles/InstrumentationTests.dir/PGOInstrumentationTest.cpp.o -o unittests/Transforms/Instrumentation/InstrumentationTests -Wl,-rpath,/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib lib/libLLVMPasses.so.20.0git -lpthread lib/libllvm_gtest_main.so.20.0git -lpthread lib/libLLVMTestingSupport.so.20.0git lib/libLLVMInstrumentation.so.20.0git lib/libLLVMAnalysis.so.20.0git lib/libLLVMAsmParser.so.20.0git lib/libLLVMCore.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-multistage-test/clang-ppc64le-multistage/stage2/lib && :
/usr/bin/ld: unittests/Transforms/Instrumentation/CMakeFiles/InstrumentationTests.dir/MemProfUseTest.cpp.o: undefined reference to symbol '_ZN4llvm7memprof20IndexedMemProfRecord7getGUIDENS_9StringRefE'
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib/libLLVMProfileData.so.20.0git: error adding symbols: DSO missing from command line
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[806/1187] Building CXX object tools/clang/lib/Testing/CMakeFiles/clangTesting.dir/TestAST.cpp.o
[808/1187] Building CXX object tools/clang/tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/IncludeSpellerTest.cpp.o
[809/1187] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTContextParentMapTest.cpp.o
[810/1187] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/APSIntTypeTest.cpp.o
[811/1187] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DataflowAnalysisContextTest.cpp.o
[812/1187] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/DiagnosticsYamlTest.cpp.o
[813/1187] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/BitVectorTest.cpp.o
[814/1187] Building CXX object tools/clang/unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/MutationsTest.cpp.o
[815/1187] Building CXX object tools/clang/unittests/Frontend/CMakeFiles/FrontendTests.dir/OutputStreamTest.cpp.o
[816/1187] Building CXX object tools/clang/unittests/Frontend/CMakeFiles/FrontendTests.dir/CodeGenActionTest.cpp.o
[817/1187] Building CXX object tools/clang/unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TokensTest.cpp.o
[818/1187] Building CXX object tools/clang/unittests/Sema/CMakeFiles/SemaTests.dir/ExternalSemaSourceTest.cpp.o
[819/1187] Building CXX object tools/clang/unittests/Serialization/CMakeFiles/SerializationTests.dir/PreambleInNamedModulesTest.cpp.o
[820/1187] Building CXX object tools/clang/tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/IncludeFixerTest.cpp.o
[821/1187] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTTypeTraitsTest.cpp.o
[822/1187] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/X86/SnippetFileTest.cpp.o
[823/1187] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTExprTest.cpp.o
[824/1187] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ASTOpsTest.cpp.o
[825/1187] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringActionRulesTest.cpp.o
[826/1187] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MapLatticeTest.cpp.o
[827/1187] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/RawCommentForDeclTest.cpp.o
[828/1187] Building CXX object tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderAnalysisTest.cpp.o
[829/1187] Building CXX object tools/clang/unittests/Serialization/CMakeFiles/SerializationTests.dir/VarDeclConstantInitTest.cpp.o
[830/1187] Building CXX object tools/clang/unittests/AST/ByteCode/CMakeFiles/InterpTests.dir/Descriptor.cpp.o
[831/1187] Building CXX object tools/clang/unittests/Sema/CMakeFiles/SemaTests.dir/CodeCompleteTest.cpp.o
[832/1187] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/InstrProfTest.cpp.o
[833/1187] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/X86/SnippetGeneratorTest.cpp.o
[834/1187] Building CXX object tools/clang/unittests/Interpreter/ExceptionTests/CMakeFiles/ClangReplInterpreterExceptionTests.dir/InterpreterExceptionTest.cpp.o
[835/1187] Building CXX object tools/clang/unittests/Sema/CMakeFiles/SemaTests.dir/GslOwnerPointerInference.cpp.o
[836/1187] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterFixtures.cpp.o
[837/1187] Building CXX object tools/clang/unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallEventTest.cpp.o
[838/1187] Building CXX object unittests/DebugInfo/DWARF/CMakeFiles/DebugInfoDWARFTests.dir/DWARFDebugInfoTest.cpp.o
[839/1187] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/X86/TargetTest.cpp.o
[840/1187] Building CXX object tools/clang/unittests/Serialization/CMakeFiles/SerializationTests.dir/NoCommentsTest.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/115218
More information about the llvm-commits
mailing list