[compiler-rt] [llvm] [ctxprof] Capture sampling info for context roots (PR #131201)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 14 21:16:48 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-gcc-x86_64-linux-debian` running on `gribozavr4` while building `compiler-rt,llvm` at step 5 "compile-openmp".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/70/builds/7633
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (compile-openmp) failure: build (failure)
...
20.231 [1770/96/3614] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPPC.cpp.o
20.262 [1769/96/3615] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o
20.272 [1768/96/3616] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSPIRV.cpp.o
20.286 [1767/96/3617] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSwift.cpp.o
20.298 [1766/96/3618] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSystemZ.cpp.o
20.307 [1765/96/3619] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o
20.318 [1764/96/3620] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaWasm.cpp.o
20.334 [1763/96/3621] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaX86.cpp.o
20.346 [1762/96/3622] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o
20.354 [1761/96/3623] Building CXX object lib/Transforms/IPO/CMakeFiles/LLVMipo.dir/ElimAvailExtern.cpp.o
FAILED: lib/Transforms/IPO/CMakeFiles/LLVMipo.dir/ElimAvailExtern.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/1/openmp-gcc-x86_64-linux-debian/llvm.build/lib/Transforms/IPO -I/b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/lib/Transforms/IPO -I/b/1/openmp-gcc-x86_64-linux-debian/llvm.build/include -I/b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/include -fPIC -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 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/Transforms/IPO/CMakeFiles/LLVMipo.dir/ElimAvailExtern.cpp.o -MF lib/Transforms/IPO/CMakeFiles/LLVMipo.dir/ElimAvailExtern.cpp.o.d -o lib/Transforms/IPO/CMakeFiles/LLVMipo.dir/ElimAvailExtern.cpp.o -c /b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/lib/Transforms/IPO/ElimAvailExtern.cpp
In file included from /b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/lib/Transforms/IPO/ElimAvailExtern.cpp:17:
In file included from /b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/include/llvm/Analysis/CtxProfAnalysis.h:17:
/b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/include/llvm/ProfileData/PGOCtxProfReader.h:109:3: warning: explicitly defaulted default constructor is implicitly deleted [-Wdefaulted-function-deleted]
PGOCtxProfContext() = default;
^
/b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/include/llvm/ProfileData/PGOCtxProfReader.h:95:33: note: default constructor of 'PGOCtxProfContext' is implicitly deleted because field 'RootEntryCount' of const-qualified type 'const std::optional<uint64_t>' (aka 'const optional<unsigned long>') would not be initialized
const std::optional<uint64_t> RootEntryCount;
^
In file included from /b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/lib/Transforms/IPO/ElimAvailExtern.cpp:17:
/b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/include/llvm/Analysis/CtxProfAnalysis.h:33:5: error: call to implicitly-deleted default constructor of 'llvm::PGOCtxProfContext'
FunctionInfo(StringRef Name) : Name(Name) {}
^
/b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/include/llvm/ProfileData/PGOCtxProfReader.h:109:3: note: explicitly defaulted function was implicitly deleted here
PGOCtxProfContext() = default;
^
/b/1/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/include/llvm/ProfileData/PGOCtxProfReader.h:95:33: note: default constructor of 'PGOCtxProfContext' is implicitly deleted because field 'RootEntryCount' of const-qualified type 'const std::optional<uint64_t>' (aka 'const optional<unsigned long>') would not be initialized
const std::optional<uint64_t> RootEntryCount;
^
1 warning and 1 error generated.
20.354 [1761/95/3624] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o
20.355 [1761/94/3625] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o
20.356 [1761/93/3626] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o
20.356 [1761/92/3627] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o
20.357 [1761/91/3628] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o
20.357 [1761/90/3629] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o
20.358 [1761/89/3630] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o
20.359 [1761/88/3631] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o
20.359 [1761/87/3632] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o
20.360 [1761/86/3633] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o
20.361 [1761/85/3634] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o
20.362 [1761/84/3635] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o
20.362 [1761/83/3636] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o
20.363 [1761/82/3637] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o
20.364 [1761/81/3638] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o
20.364 [1761/80/3639] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o
20.365 [1761/79/3640] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o
20.366 [1761/78/3641] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/131201
More information about the llvm-commits
mailing list