[clang] [clang][analyzer] Stable order for SymbolRef-keyed containers (PR #121551)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 3 10:39:02 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building `clang` at step 5 "compile-openmp".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/30/builds/13104
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (compile-openmp) failure: build (failure)
...
30.530 [1022/32/3290] Building AMDGPUGenPostLegalizeGICombiner.inc...
30.607 [1021/32/3291] Building CXX object tools/clang/lib/InstallAPI/CMakeFiles/obj.clangInstallAPI.dir/Visitor.cpp.o
30.608 [1020/32/3292] Building CXX object tools/clang/lib/InstallAPI/CMakeFiles/obj.clangInstallAPI.dir/Frontend.cpp.o
30.664 [1019/32/3293] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o
30.667 [1018/32/3294] Linking CXX static library lib/libclangRewriteFrontend.a
30.668 [1017/32/3295] Linking CXX static library lib/libclangToolingSyntax.a
30.677 [1016/32/3296] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o
30.695 [1015/32/3297] Linking CXX static library lib/libclangInstallAPI.a
30.858 [1014/32/3298] Linking CXX static library lib/libclangARCMigrate.a
31.337 [1013/32/3299] Building CXX object tools/clang/lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o
FAILED: tools/clang/lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o
ccache /usr/bin/c++ -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/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/tools/clang/lib/Analysis/plugins/CheckerDependencyHandling -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/lib/Analysis/plugins/CheckerDependencyHandling -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/tools/clang/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/include -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 -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fPIC -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o -MF tools/clang/lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o.d -o tools/clang/lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o -c /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandling.cpp
In file included from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:29,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h:19,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:20,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/Checker.h:18,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:18,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandling.cpp:1:
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:721:5: error: global qualification of class name is invalid before ‘:’ token
721 | : public ImutProfileInfo<clang::ento::SymbolRef> {
| ^
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:721:5: error: expected ‘{’ before ‘:’ token
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:744:2: warning: extra ‘;’ [-Wpedantic]
744 | };
| ^
31.740 [1013/31/3300] Building AMDGPUGenDisassemblerTables.inc...
31.746 [1013/30/3301] Building CXX object tools/clang/lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o
FAILED: tools/clang/lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o
ccache /usr/bin/c++ -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/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/tools/clang/lib/Analysis/plugins/CheckerOptionHandling -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/lib/Analysis/plugins/CheckerOptionHandling -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/tools/clang/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/include -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 -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fPIC -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o -MF tools/clang/lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o.d -o tools/clang/lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o -c /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandling.cpp
In file included from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:29,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h:19,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:20,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/Checker.h:18,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:18,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandling.cpp:1:
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:721:5: error: global qualification of class name is invalid before ‘:’ token
721 | : public ImutProfileInfo<clang::ento::SymbolRef> {
| ^
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:721:5: error: expected ‘{’ before ‘:’ token
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:744:2: warning: extra ‘;’ [-Wpedantic]
744 | };
| ^
32.195 [1013/29/3302] Building AMDGPUGenSubtargetInfo.inc...
33.056 [1013/28/3303] Building CXX object tools/clang/lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o
FAILED: tools/clang/lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o
ccache /usr/bin/c++ -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/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/tools/clang/lib/Analysis/plugins/SampleAnalyzer -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/lib/Analysis/plugins/SampleAnalyzer -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/tools/clang/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/include -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 -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fPIC -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o -MF tools/clang/lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o.d -o tools/clang/lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o -c /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/lib/Analysis/plugins/SampleAnalyzer/MainCallChecker.cpp
In file included from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:29,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h:19,
from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:20,
```
</details>
https://github.com/llvm/llvm-project/pull/121551
More information about the cfe-commits
mailing list